#[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<ucred> for UnixCredentials
impl From<ucred> for UnixCredentials
sourceimpl Into<ucred> for UnixCredentials
impl Into<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