[][src]Enum nng::PipeEvent

pub enum PipeEvent {
    AddPre,
    AddPost,
    RemovePost,
    // some variants omitted
}

An event that happens on a Pipe instance.

Variants

AddPre

Occurs after a connection and negotiation has completed but before the pipe is added to the socket.

If the pipe is closed at this point, the socket will never see the pipe and no further events will occur for the given pipe.

AddPost

This event occurs after the pipe is fully added to the socket.

Prior to this time, it is not possible to communicate over the pipe with the socket.

RemovePost

Occurs after the pipe has been removed from the socket.

The underlying transport may be closed at this point and it is not possible to communicate with this pipe.

Trait Implementations

impl Clone for PipeEvent[src]

impl Copy for PipeEvent[src]

impl Eq for PipeEvent[src]

impl PartialEq<PipeEvent> for PipeEvent[src]

impl Debug for PipeEvent[src]

impl Hash for PipeEvent[src]

impl StructuralPartialEq for PipeEvent[src]

impl StructuralEq for PipeEvent[src]

Auto Trait Implementations

Blanket Implementations

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 = !

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

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

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