pub struct PeerCredentials;
Expand description
Return the credentials of the foreign process connected to this socket.
Trait Implementations
sourceimpl Clone for PeerCredentials
impl Clone for PeerCredentials
sourcefn clone(&self) -> PeerCredentials
fn clone(&self) -> PeerCredentials
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PeerCredentials
impl Debug for PeerCredentials
sourceimpl GetSockOpt for PeerCredentials
impl GetSockOpt for PeerCredentials
type Val = UnixCredentials
sourcefn get(&self, fd: RawFd) -> Result<UnixCredentials>
fn get(&self, fd: RawFd) -> Result<UnixCredentials>
Look up the value of this socket option on the given socket.
sourceimpl Hash for PeerCredentials
impl Hash for PeerCredentials
sourceimpl PartialEq<PeerCredentials> for PeerCredentials
impl PartialEq<PeerCredentials> for PeerCredentials
sourcefn eq(&self, other: &PeerCredentials) -> bool
fn eq(&self, other: &PeerCredentials) -> bool
impl Copy for PeerCredentials
impl Eq for PeerCredentials
impl StructuralEq for PeerCredentials
impl StructuralPartialEq for PeerCredentials
Auto Trait Implementations
impl RefUnwindSafe for PeerCredentials
impl Send for PeerCredentials
impl Sync for PeerCredentials
impl Unpin for PeerCredentials
impl UnwindSafe for PeerCredentials
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more