pub enum ConnectionMetadata {
UnixPeerCredentials {
uid: u32,
gid: u32,
pid: Option<i32>,
},
}Expand description
Specifies metadata associated with a connection, if any.
Variants§
UnixPeerCredentials
Unix peer credentials metadata for Unix domain sockets.
Trait Implementations§
Source§impl Clone for ConnectionMetadata
impl Clone for ConnectionMetadata
Source§fn clone(&self) -> ConnectionMetadata
fn clone(&self) -> ConnectionMetadata
Returns a duplicate 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 ConnectionMetadata
impl Debug for ConnectionMetadata
impl Copy for ConnectionMetadata
Auto Trait Implementations§
impl Freeze for ConnectionMetadata
impl RefUnwindSafe for ConnectionMetadata
impl Send for ConnectionMetadata
impl Sync for ConnectionMetadata
impl Unpin for ConnectionMetadata
impl UnwindSafe for ConnectionMetadata
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