Struct nix::sys::socket::UnixCredentials
#[repr(transparent)]
pub struct UnixCredentials(_);
Documentation
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
impl UnixCredentials
Trait Implementations
impl Clone for UnixCredentials
fn clone(&Self) -> UnixCredentials
impl Copy for UnixCredentials
impl Debug for UnixCredentials
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Default for UnixCredentials
fn default() -> Self
impl Eq for UnixCredentials
impl From<UnixCredentials> for libc::ucred
fn from(uc: UnixCredentials) -> Self
impl From<ucred> for UnixCredentials
fn from(cred: libc::ucred) -> Self
impl PartialEq<UnixCredentials> for UnixCredentials
fn eq(&Self, other: &UnixCredentials) -> bool
fn ne(&Self, other: &UnixCredentials) -> bool
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
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T