#[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 moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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