Trait conv::ValueInto [] [src]

pub trait ValueInto<Dst> {
    type Err: Error;
    fn value_into(self) -> Result<Dst, Self::Err>;
}

This is the dual of ValueFrom; see that trait for information.

Where possible, prefer using this trait over ValueFrom for generic constraints, but prefer implementing ValueFrom.

Associated Types

The error type produced by a failed conversion.

Required Methods

Convert the subject into an exactly equivalent representation.

Implementors