[−][src]Trait body_image_futio::StreamWrapper
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.
Implementors
impl<B> StreamWrapper for DispatchBodyImage<B> where
B: OutputBuf,
[src]
B: OutputBuf,
pub fn new(body: BodyImage, tune: FutioTunables) -> Self
[src]
impl<B> StreamWrapper for PermitBodyImage<B> where
B: OutputBuf,
[src]
B: OutputBuf,
pub fn new(body: BodyImage, tune: FutioTunables) -> Self
[src]
impl<B> StreamWrapper for SplitBodyImage<B> where
B: OutputBuf + Splittable,
[src]
B: OutputBuf + Splittable,
pub fn new(body: BodyImage, tune: FutioTunables) -> Self
[src]
impl<B> StreamWrapper for YieldBodyImage<B> where
B: OutputBuf,
[src]
B: OutputBuf,
pub fn new(body: BodyImage, tune: FutioTunables) -> Self
[src]
impl<B, BA> StreamWrapper for AsyncBodyImage<B, BA> where
B: OutputBuf,
BA: BlockingArbiter + Default + Unpin,
[src]
B: OutputBuf,
BA: BlockingArbiter + Default + Unpin,