[][src]Trait body_image_futio::StreamWrapper

pub trait StreamWrapper: Stream {
    pub fn new(body: BodyImage, tune: FutioTunables) -> Self;
}

Trait for generic construction of Stream wrapper types.

Required methods

pub fn new(body: BodyImage, tune: FutioTunables) -> Self[src]

Wrap by consuming the BodyImage instance.

Note: BodyImage and FutioTunables are Clone (inexpensive), so that can be done beforehand to preserve owned copies.

Loading content...

Implementors

impl<B> StreamWrapper for DispatchBodyImage<B> where
    B: OutputBuf
[src]

impl<B> StreamWrapper for PermitBodyImage<B> where
    B: OutputBuf
[src]

impl<B> StreamWrapper for SplitBodyImage<B> where
    B: OutputBuf + Splittable
[src]

impl<B> StreamWrapper for YieldBodyImage<B> where
    B: OutputBuf
[src]

impl<B, BA> StreamWrapper for AsyncBodyImage<B, BA> where
    B: OutputBuf,
    BA: BlockingArbiter + Default + Unpin
[src]

Loading content...