Trait conv::ValueInto
[−]
[src]
pub trait ValueInto<Dst> { type Err; fn value_into(self) -> Result<Dst, Self::Err>; }
This is the dual of ValueFrom
; see that trait for information.
Associated Types
type Err
The error type produced by a failed conversion.
Required Methods
fn value_into(self) -> Result<Dst, Self::Err>
Convert the subject into an exactly equivalent representation.
Implementors
impl<Src, Dst> ValueInto<Dst> for Src where Dst: ValueFrom<Src>