pub struct Pipe { /* private fields */ }
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§
Trait Implementations§
Source§impl Ord for Pipe
impl Ord for Pipe
Source§impl PartialOrd for Pipe
impl PartialOrd for Pipe
impl Copy for Pipe
impl Eq for Pipe
impl GetOpt<KeepAlive> for Pipe
impl GetOpt<LocalAddr> for Pipe
impl GetOpt<NoDelay> for Pipe
impl GetOpt<PeerPid> for Pipe
impl GetOpt<RecvMaxSize> for Pipe
impl GetOpt<RemAddr> for Pipe
impl GetOpt<RequestHeaders> for Pipe
impl GetOpt<ResponseHeaders> for Pipe
impl GetOpt<Verified> for Pipe
impl SetOpt<PeerGid> for Pipe
impl SetOpt<PeerUid> for Pipe
Auto Trait Implementations§
impl Freeze for Pipe
impl RefUnwindSafe for Pipe
impl Send for Pipe
impl Sync for Pipe
impl Unpin for Pipe
impl UnwindSafe for Pipe
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more