Trait ConvertToValue

Source
pub trait ConvertToValue<T>: Sized {
    // Required method
    fn convert_from(self, doc: &Document) -> Result<T>;
}
Expand description

Allows for Conversion from ProduceIter into another.

Required Methods§

Source

fn convert_from(self, doc: &Document) -> 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§