pub struct PeerCredentials {
pub pid: u32,
pub uid: u32,
pub gid: u32,
}Expand description
Kernel-authenticated Unix peer identity.
Fields§
§pid: u32Process ID captured by the kernel at connection time.
uid: u32Effective user identity.
gid: u32Effective group identity.
Trait Implementations§
Source§impl Clone for PeerCredentials
impl Clone for PeerCredentials
Source§fn clone(&self) -> PeerCredentials
fn clone(&self) -> PeerCredentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PeerCredentials
Source§impl Debug for PeerCredentials
impl Debug for PeerCredentials
impl Eq for PeerCredentials
Source§impl PartialEq for PeerCredentials
impl PartialEq for PeerCredentials
impl StructuralPartialEq for PeerCredentials
Auto Trait Implementations§
impl Freeze for PeerCredentials
impl RefUnwindSafe for PeerCredentials
impl Send for PeerCredentials
impl Sync for PeerCredentials
impl Unpin for PeerCredentials
impl UnsafeUnpin for PeerCredentials
impl UnwindSafe for PeerCredentials
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