Struct kitsune_p2p_types::tx2::FramedReader [−][src]
pub struct FramedReader(_);
Expand description
Efficiently read framed data from a sub AsyncRead instance.
Implementations
Trait Implementations
Read a frame of data from this AsFramedReader instance. This returns a Vec in case the first read contains multiple small items. Read more
Auto Trait Implementations
impl !RefUnwindSafe for FramedReader
impl Send for FramedReader
impl !Sync for FramedReader
impl Unpin for FramedReader
impl !UnwindSafe for FramedReader
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
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