Trait conv::TryInto
[−]
[src]
pub trait TryInto<Dst> {
type Err: Error;
fn try_into(self) -> Result<Dst, Self::Err>;
}This is the dual of TryFrom; see that trait for information.
Where possible, prefer using this trait over TryFrom for generic constraints, but prefer implementing TryFrom.
Associated Types
Required Methods
Implementors
impl<Src, Dst> TryInto<Dst> for Src where Dst: TryFrom<Src>