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
Auto Trait Implementations
impl RefUnwindSafe for PipeEvent
impl UnwindSafe for PipeEvent
Blanket Implementations
Mutably borrows from an owned value. Read more