Trait Straw

pub trait Straw<Output, Progress = Output, Error = Infallible>: Sipper<Result<Output, Error>, Progress> { }
Available on crate feature sipper only.
Expand description

A Straw is a Sipper that can fail.

This is an extension trait of Sipper, for convenience.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<S, Output, Progress, Error> Straw<Output, Progress, Error> for S
where S: Sipper<Result<Output, Error>, Progress>,