Trait SingleBodyConsumer

Source
pub trait SingleBodyConsumer<T>
where T: FromStr, Error: From<T::Err>,
{ // Provided method fn consume<R: Read>(body: R) -> Result<T> { ... } }
Expand description

consume body as single result used by jqdata-derive crate

Provided Methods§

Source

fn consume<R: Read>(body: R) -> Result<T>

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§