pub struct UnixCredentials(/* private fields */);Available on crate feature
socket only.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§
Source§impl Clone for UnixCredentials
impl Clone for UnixCredentials
Source§fn clone(&self) -> UnixCredentials
fn clone(&self) -> UnixCredentials
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnixCredentials
impl Debug for UnixCredentials
Source§impl Default for UnixCredentials
impl Default for UnixCredentials
Source§impl From<UnixCredentials> for ucred
impl From<UnixCredentials> for ucred
Source§fn from(uc: UnixCredentials) -> Self
fn from(uc: UnixCredentials) -> Self
Converts to this type from the input type.
Source§impl From<ucred> for UnixCredentials
impl From<ucred> for UnixCredentials
Source§impl PartialEq for UnixCredentials
impl PartialEq for UnixCredentials
impl Copy for UnixCredentials
impl Eq for UnixCredentials
impl StructuralPartialEq for UnixCredentials
Auto Trait Implementations§
impl Freeze for UnixCredentials
Available on Unix only.
impl RefUnwindSafe for UnixCredentials
Available on Unix only.
impl Send for UnixCredentials
Available on Unix only.
impl Sync for UnixCredentials
Available on Unix only.
impl Unpin for UnixCredentials
Available on Unix only.
impl UnwindSafe for UnixCredentials
Available on Unix only.
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on Unix only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on Unix only.
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
Available on Unix only.
impl<T> CloneToUninit for Twhere
T: Clone,
Available on Unix only.