[][src]Enum parsec_service::front::listener::ConnectionMetadata

pub enum ConnectionMetadata {
    UnixPeerCredentials {
        uid: u32,
        gid: u32,
        pid: Option<i32>,
    },
}

Specifies metadata associated with a connection, if any.

Variants

UnixPeerCredentials

Unix peer credentials metadata for Unix domain sockets.

Fields of UnixPeerCredentials

uid: u32

The effective UID of the connecting process.

gid: u32

The effective GID of the connecting process.

pid: Option<i32>

The optional PID of the connecting process. This is an Option because not all platforms support retrieving PID via a domain socket.

Trait Implementations

impl Clone for ConnectionMetadata[src]

impl Copy for ConnectionMetadata[src]

impl Debug for ConnectionMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Free for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,