Trait body_image_futio::StreamWrapper [−][src]
pub trait StreamWrapper: Stream {
fn new(body: BodyImage, tune: FutioTunables) -> Self;
}
Expand description
Trait for generic construction of Stream
wrapper types.
Required methods
fn new(body: BodyImage, tune: FutioTunables) -> Self
fn new(body: BodyImage, tune: FutioTunables) -> Self
Wrap by consuming the BodyImage
instance.
Note: BodyImage
and FutioTunables
are Clone
(inexpensive), so
that can be done beforehand to preserve owned copies.