pub struct StreamMuxerBox { /* fields omitted */ }
Turns a stream muxer into a StreamMuxerBox
.
Type of the object that represents the raw substream where data can be read and written.
Future that will be resolved when the outgoing substream is open.
Opens a new outgoing substream, and produces a future that will be resolved when it becomes available. Read more
Destroys an outbound substream. Use this after the outbound substream has finished, or if you want to interrupt it. Read more
Reads data from a substream. The behaviour is the same as tokio_io::AsyncRead::poll_read
. Read more
Write data to a substream. The behaviour is the same as tokio_io::AsyncWrite::poll_write
. Read more
Flushes a substream. The behaviour is the same as tokio_io::AsyncWrite::poll_flush
. Read more
Attempts to shut down a substream. The behaviour is similar to tokio_io::AsyncWrite::shutdown
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more