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

pub trait TryInto<T>: Sized {
    type Error;
    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

The error type returned when the conversion fails.

Loading content...

Required methods

fn try_into(self) -> Result<T, Self::Error>

Performs the conversion

Loading content...

Implementors

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

type Error = U::Error

Loading content...