pub struct LocalPeerCred;
Available on crate feature
socket
only.Expand description
Get the credentials of the peer process of a connected unix domain socket.
Trait Implementations§
source§impl Clone for LocalPeerCred
impl Clone for LocalPeerCred
source§fn clone(&self) -> LocalPeerCred
fn clone(&self) -> LocalPeerCred
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 LocalPeerCred
impl Debug for LocalPeerCred
source§impl GetSockOpt for LocalPeerCred
impl GetSockOpt for LocalPeerCred
source§impl Hash for LocalPeerCred
impl Hash for LocalPeerCred
source§impl PartialEq for LocalPeerCred
impl PartialEq for LocalPeerCred
source§fn eq(&self, other: &LocalPeerCred) -> bool
fn eq(&self, other: &LocalPeerCred) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LocalPeerCred
impl Eq for LocalPeerCred
impl StructuralPartialEq for LocalPeerCred
Auto Trait Implementations§
impl Freeze for LocalPeerCred
impl RefUnwindSafe for LocalPeerCred
impl Send for LocalPeerCred
impl Sync for LocalPeerCred
impl Unpin for LocalPeerCred
impl UnwindSafe for LocalPeerCred
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