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<LocalPeerCred> for LocalPeerCred
impl PartialEq<LocalPeerCred> 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 ==
.