#[repr(transparent)]pub struct UnixCredentials(_);Expand description
Unix credentials of the sending process.
This struct is used with the SO_PEERCRED ancillary message
and the SCM_CREDENTIALS control message for UNIX sockets.
Implementations
Trait Implementations
sourceimpl Clone for UnixCredentials
impl Clone for UnixCredentials
sourcefn clone(&self) -> UnixCredentials
fn clone(&self) -> UnixCredentials
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UnixCredentials
impl Debug for UnixCredentials
sourceimpl Default for UnixCredentials
impl Default for UnixCredentials
sourceimpl From<UnixCredentials> for ucred
impl From<UnixCredentials> for ucred
sourcefn from(uc: UnixCredentials) -> Self
fn from(uc: UnixCredentials) -> Self
Converts to this type from the input type.
sourceimpl From<ucred> for UnixCredentials
impl From<ucred> for UnixCredentials
sourceimpl PartialEq<UnixCredentials> for UnixCredentials
impl PartialEq<UnixCredentials> for UnixCredentials
sourcefn eq(&self, other: &UnixCredentials) -> bool
fn eq(&self, other: &UnixCredentials) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UnixCredentials) -> bool
fn ne(&self, other: &UnixCredentials) -> bool
This method tests for !=.
impl Copy for UnixCredentials
impl Eq for UnixCredentials
impl StructuralEq for UnixCredentials
impl StructuralPartialEq for UnixCredentials
Auto Trait Implementations
impl RefUnwindSafe for UnixCredentials
impl Send for UnixCredentials
impl Sync for UnixCredentials
impl Unpin for UnixCredentials
impl UnwindSafe for UnixCredentials
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more