Struct nng::Pipe [−][src]
pub struct Pipe { /* fields omitted */ }
Expand description
An NNG communication pipe.
A pipe can be thought of as a single connection and are associated with either the listener or dialer that created them. Therefore, they are automatically associated with a single socket.
Most applications should never concern themselves with individual pipes. However, it is possible to access a pipe when more information about the source of the message is needed or when more control is required over message delivery.
See the NNG documentation for more information.
Implementations
Returns the listener associated with this pipe, if any.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Pipe
impl UnwindSafe for Pipe
Blanket Implementations
Mutably borrows from an owned value. Read more