[][src]Trait try_from::TryFrom

pub trait TryFrom<T>: Sized {
    type Err;
    fn try_from(_: T) -> Result<Self, Self::Err>;
}

Associated Types

type Err

Loading content...

Required methods

fn try_from(_: T) -> Result<Self, Self::Err>

Loading content...

Implementations on Foreign Types

impl TryFrom<u8> for char[src]

type Err = Void

impl TryFrom<char> for char[src]

type Err = Void

impl TryFrom<i8> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<i16> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<i32> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<i64> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<isize> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<u16> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<u32> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<u64> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<usize> for char[src]

type Err = TryFromIntToCharError

impl TryFrom<u8> for u8[src]

type Err = Void

impl TryFrom<u8> for u16[src]

type Err = Void

impl TryFrom<u16> for u16[src]

type Err = Void

impl TryFrom<u8> for u32[src]

type Err = Void

impl TryFrom<u16> for u32[src]

type Err = Void

impl TryFrom<u32> for u32[src]

type Err = Void

impl TryFrom<u8> for u64[src]

type Err = Void

impl TryFrom<u16> for u64[src]

type Err = Void

impl TryFrom<u32> for u64[src]

type Err = Void

impl TryFrom<u64> for u64[src]

type Err = Void

impl TryFrom<usize> for u64[src]

type Err = Void

impl TryFrom<u8> for u128[src]

type Err = Void

impl TryFrom<u16> for u128[src]

type Err = Void

impl TryFrom<u32> for u128[src]

type Err = Void

impl TryFrom<u64> for u128[src]

type Err = Void

impl TryFrom<u128> for u128[src]

type Err = Void

impl TryFrom<u8> for usize[src]

type Err = Void

impl TryFrom<u16> for usize[src]

type Err = Void

impl TryFrom<u32> for usize[src]

type Err = Void

impl TryFrom<usize> for usize[src]

type Err = Void

impl TryFrom<i8> for i8[src]

type Err = Void

impl TryFrom<u8> for i16[src]

type Err = Void

impl TryFrom<i8> for i16[src]

type Err = Void

impl TryFrom<i16> for i16[src]

type Err = Void

impl TryFrom<u8> for i32[src]

type Err = Void

impl TryFrom<u16> for i32[src]

type Err = Void

impl TryFrom<i8> for i32[src]

type Err = Void

impl TryFrom<i16> for i32[src]

type Err = Void

impl TryFrom<i32> for i32[src]

type Err = Void

impl TryFrom<u8> for i64[src]

type Err = Void

impl TryFrom<u16> for i64[src]

type Err = Void

impl TryFrom<u32> for i64[src]

type Err = Void

impl TryFrom<i8> for i64[src]

type Err = Void

impl TryFrom<i16> for i64[src]

type Err = Void

impl TryFrom<i32> for i64[src]

type Err = Void

impl TryFrom<i64> for i64[src]

type Err = Void

impl TryFrom<isize> for i64[src]

type Err = Void

impl TryFrom<i8> for i128[src]

type Err = Void

impl TryFrom<i16> for i128[src]

type Err = Void

impl TryFrom<i32> for i128[src]

type Err = Void

impl TryFrom<i64> for i128[src]

type Err = Void

impl TryFrom<i128> for i128[src]

type Err = Void

impl TryFrom<u8> for isize[src]

type Err = Void

impl TryFrom<u16> for isize[src]

type Err = Void

impl TryFrom<i8> for isize[src]

type Err = Void

impl TryFrom<i16> for isize[src]

type Err = Void

impl TryFrom<i32> for isize[src]

type Err = Void

impl TryFrom<isize> for isize[src]

type Err = Void

impl TryFrom<u16> for u8[src]

type Err = TryFromIntError

impl TryFrom<u32> for u8[src]

type Err = TryFromIntError

impl TryFrom<u64> for u8[src]

type Err = TryFromIntError

impl TryFrom<u128> for u8[src]

type Err = TryFromIntError

impl TryFrom<usize> for u8[src]

type Err = TryFromIntError

impl TryFrom<u32> for u16[src]

type Err = TryFromIntError

impl TryFrom<u64> for u16[src]

type Err = TryFromIntError

impl TryFrom<u128> for u16[src]

type Err = TryFromIntError

impl TryFrom<usize> for u16[src]

type Err = TryFromIntError

impl TryFrom<u64> for u32[src]

type Err = TryFromIntError

impl TryFrom<u128> for u32[src]

type Err = TryFromIntError

impl TryFrom<usize> for u32[src]

type Err = TryFromIntError

impl TryFrom<u128> for u64[src]

type Err = TryFromIntError

impl TryFrom<u64> for usize[src]

type Err = TryFromIntError

impl TryFrom<u128> for usize[src]

type Err = TryFromIntError

impl TryFrom<i8> for u8[src]

type Err = TryFromIntError

impl TryFrom<i16> for u8[src]

type Err = TryFromIntError

impl TryFrom<i32> for u8[src]

type Err = TryFromIntError

impl TryFrom<i64> for u8[src]

type Err = TryFromIntError

impl TryFrom<i128> for u8[src]

type Err = TryFromIntError

impl TryFrom<isize> for u8[src]

type Err = TryFromIntError

impl TryFrom<i8> for u16[src]

type Err = TryFromIntError

impl TryFrom<i16> for u16[src]

type Err = TryFromIntError

impl TryFrom<i32> for u16[src]

type Err = TryFromIntError

impl TryFrom<i64> for u16[src]

type Err = TryFromIntError

impl TryFrom<i128> for u16[src]

type Err = TryFromIntError

impl TryFrom<isize> for u16[src]

type Err = TryFromIntError

impl TryFrom<i8> for u32[src]

type Err = TryFromIntError

impl TryFrom<i16> for u32[src]

type Err = TryFromIntError

impl TryFrom<i32> for u32[src]

type Err = TryFromIntError

impl TryFrom<i64> for u32[src]

type Err = TryFromIntError

impl TryFrom<i128> for u32[src]

type Err = TryFromIntError

impl TryFrom<isize> for u32[src]

type Err = TryFromIntError

impl TryFrom<i8> for u64[src]

type Err = TryFromIntError

impl TryFrom<i16> for u64[src]

type Err = TryFromIntError

impl TryFrom<i32> for u64[src]

type Err = TryFromIntError

impl TryFrom<i64> for u64[src]

type Err = TryFromIntError

impl TryFrom<i128> for u64[src]

type Err = TryFromIntError

impl TryFrom<isize> for u64[src]

type Err = TryFromIntError

impl TryFrom<i8> for u128[src]

type Err = TryFromIntError

impl TryFrom<i16> for u128[src]

type Err = TryFromIntError

impl TryFrom<i32> for u128[src]

type Err = TryFromIntError

impl TryFrom<i64> for u128[src]

type Err = TryFromIntError

impl TryFrom<i128> for u128[src]

type Err = TryFromIntError

impl TryFrom<isize> for u128[src]

type Err = TryFromIntError

impl TryFrom<i8> for usize[src]

type Err = TryFromIntError

impl TryFrom<i16> for usize[src]

type Err = TryFromIntError

impl TryFrom<i32> for usize[src]

type Err = TryFromIntError

impl TryFrom<i64> for usize[src]

type Err = TryFromIntError

impl TryFrom<i128> for usize[src]

type Err = TryFromIntError

impl TryFrom<isize> for usize[src]

type Err = TryFromIntError

impl TryFrom<u8> for i8[src]

type Err = TryFromIntError

impl TryFrom<u16> for i8[src]

type Err = TryFromIntError

impl TryFrom<u32> for i8[src]

type Err = TryFromIntError

impl TryFrom<u64> for i8[src]

type Err = TryFromIntError

impl TryFrom<u128> for i8[src]

type Err = TryFromIntError

impl TryFrom<usize> for i8[src]

type Err = TryFromIntError

impl TryFrom<u16> for i16[src]

type Err = TryFromIntError

impl TryFrom<u32> for i16[src]

type Err = TryFromIntError

impl TryFrom<u64> for i16[src]

type Err = TryFromIntError

impl TryFrom<u128> for i16[src]

type Err = TryFromIntError

impl TryFrom<usize> for i16[src]

type Err = TryFromIntError

impl TryFrom<u32> for i32[src]

type Err = TryFromIntError

impl TryFrom<u64> for i32[src]

type Err = TryFromIntError

impl TryFrom<u128> for i32[src]

type Err = TryFromIntError

impl TryFrom<usize> for i32[src]

type Err = TryFromIntError

impl TryFrom<u64> for i64[src]

type Err = TryFromIntError

impl TryFrom<u128> for i64[src]

type Err = TryFromIntError

impl TryFrom<usize> for i64[src]

type Err = TryFromIntError

impl TryFrom<u32> for isize[src]

type Err = TryFromIntError

impl TryFrom<u64> for isize[src]

type Err = TryFromIntError

impl TryFrom<u128> for isize[src]

type Err = TryFromIntError

impl TryFrom<usize> for isize[src]

type Err = TryFromIntError

impl TryFrom<i16> for i8[src]

type Err = TryFromIntError

impl TryFrom<i32> for i8[src]

type Err = TryFromIntError

impl TryFrom<i64> for i8[src]

type Err = TryFromIntError

impl TryFrom<i128> for i8[src]

type Err = TryFromIntError

impl TryFrom<isize> for i8[src]

type Err = TryFromIntError

impl TryFrom<i32> for i16[src]

type Err = TryFromIntError

impl TryFrom<i64> for i16[src]

type Err = TryFromIntError

impl TryFrom<i128> for i16[src]

type Err = TryFromIntError

impl TryFrom<isize> for i16[src]

type Err = TryFromIntError

impl TryFrom<i64> for i32[src]

type Err = TryFromIntError

impl TryFrom<i128> for i32[src]

type Err = TryFromIntError

impl TryFrom<isize> for i32[src]

type Err = TryFromIntError

impl TryFrom<i128> for i64[src]

type Err = TryFromIntError

impl TryFrom<i64> for isize[src]

type Err = TryFromIntError

impl TryFrom<i128> for isize[src]

type Err = TryFromIntError

Loading content...

Implementors

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr
[src]

type Err = T::Err

impl<T> TryFrom<char> for T where
    T: TryFrom<u32, Err = TryFromIntError>, 
[src]

Loading content...