Struct nix::sys::socket::UnixCredentials
source · #[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§
source§impl Clone for UnixCredentials
impl Clone for UnixCredentials
source§fn clone(&self) -> UnixCredentials
fn clone(&self) -> UnixCredentials
Returns a copy 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.