Skip to main content

Straw

Trait Straw 

Source
pub trait Straw<Output, Progress = Output, Error = !>: Sipper<Result<Output, Error>, Progress> { }
Expand description

The traits watchdog is driven through (#397), re-exported so a consumer needs them in scope without taking a direct dependency on sipper — and so the version this engine speaks is the one it hands out. 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".

Implementors§

Source§

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