Struct mai::EventedFrameStream [] [src]

pub struct EventedFrameStream<P: ?Sized> where
    P: Protocol
{ pub stream: P::ByteStream, pub state: StreamState, pub codec: P::Codec, pub read_buffer: Option<RcRecycled<Buffer>>, pub write_buffer: Option<RcRecycled<Buffer>>, pub outbox: Option<RcRecycled<Outbox<P::Frame>>>, }

Fields

Methods

impl<P: ?Sized> EventedFrameStream<P> where
    P: Protocol
[src]

Trait Implementations

impl<P: Debug + ?Sized> Debug for EventedFrameStream<P> where
    P: Protocol,
    P::ByteStream: Debug,
    P::Codec: Debug,
    P::Frame: Debug
[src]

Formats the value using the given formatter.