Enum nng::options::transport::ipc::PeerPid[][src]

pub enum PeerPid {}

Returns the process ID of the peer.

Applications should not assume that the process ID does not change, as it is possible (although unsupported!) for a nefarious process to pass a file descriptor between processes. However, it is not possible for a nefarious application to forge the identity of a well-behaved one using this method.

Supports

  • Pipes that are using the IPC protocol.

Trait Implementations

impl Clone for PeerPid[src]

impl Copy for PeerPid[src]

impl Debug for PeerPid[src]

impl Display for PeerPid[src]

impl Eq for PeerPid[src]

impl GetOpt<PeerPid> for Pipe[src]

impl Hash for PeerPid[src]

impl Opt for PeerPid[src]

type OptType = u64

The type that the option read and writes.

impl Ord for PeerPid[src]

impl PartialEq<PeerPid> for PeerPid[src]

impl PartialOrd<PeerPid> for PeerPid[src]

impl StructuralEq for PeerPid[src]

impl StructuralPartialEq for PeerPid[src]

Auto Trait Implementations

impl RefUnwindSafe for PeerPid

impl Send for PeerPid

impl Sync for PeerPid

impl Unpin for PeerPid

impl UnwindSafe for PeerPid

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> 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> ToString for T where
    T: Display + ?Sized
[src]

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.