Enum nng::PipeEvent[][src]

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.