pub struct UnixCredentials(/* private fields */);
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.
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
impl RefUnwindSafe for UnixCredentials
impl Send for UnixCredentials
impl Sync for UnixCredentials
impl Unpin for UnixCredentials
impl UnwindSafe for UnixCredentials
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
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,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)