Struct packet_stream::PsSink [] [src]

pub struct PsSink<W: AsyncWrite, B: AsRef<[u8]>> { /* fields omitted */ }

The sink half of a duplex multiplexed over the packet-stream.

Trait Implementations

impl<W, B> Sink for PsSink<W, B> where
    W: AsyncWrite,
    B: AsRef<[u8]>, 
[src]

The type of value that the sink accepts.

The error contains a None if an Request, PeerResponse or PsSink errored previously.

[src]

Attempts to prepare the Sink to receive a value. Read more

[src]

Begin the process of sending a value to the sink. Each call to this function must be proceeded by a successful call to poll_ready which returned Ok(Async::Ready(())). Read more

[src]

Flush any remaining output from this sink. Read more

[src]

Flush any remaining output and close this sink, if necessary. Read more

Auto Trait Implementations

impl<W, B> !Send for PsSink<W, B>

impl<W, B> !Sync for PsSink<W, B>