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 more
sourceimpl 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
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more