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