Struct ntex::io::utils::Framed [−][src]
pub struct Framed<U> { /* fields omitted */ }
Expand description
A unified interface to an underlying I/O object, using
the Encoder
and Decoder
traits to encode and decode frames.
Framed
is heavily optimized for streaming io.
Implementations
Provides an interface for reading and writing to
Io
object, using Decode
and Encode
traits of codec.
Returns a reference to the underlying I/O stream wrapped by Framed
.
Wake write task and instruct to flush data.
This is async version of .poll_flush() method.
Trait Implementations
Auto Trait Implementations
impl<U> !RefUnwindSafe for Framed<U>
impl<U> !UnwindSafe for Framed<U>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more