[][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 Eq for PipeEvent[src]

impl PartialEq<PipeEvent> for PipeEvent[src]

impl Copy for PipeEvent[src]

impl Clone for PipeEvent[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PipeEvent[src]

impl Hash for PipeEvent[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for PipeEvent

impl Sync for PipeEvent

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[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.

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

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

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