[][src]Trait core_extensions::try_from::TryInto

pub trait TryInto<T>: Sized {
    type Error;
    pub fn try_into(self) -> Result<T, Self::Error>;
}

Attempts to convert from Self to T,returning Err(Self::Error) on failure.

Associated Types

type Error[src]

The error type returned when the conversion fails.

Loading content...

Required methods

pub fn try_into(self) -> Result<T, Self::Error>[src]

Performs the conversion

Loading content...

Implementors

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = U::Error

Loading content...