Trait sgx_tstd::convert::TryFrom [−][src]
🔬 This is a nightly-only experimental API. (
try_from
)Attempt to construct Self
via a conversion.
Associated Types
type Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
Required Methods
fn try_from(value: T) -> Result<Self, Self::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
Implementors
impl TryFrom<u16> for i16 type Error = TryFromIntError;
impl TryFrom<i64> for i8 type Error = TryFromIntError;
impl TryFrom<usize> for u8 type Error = TryFromIntError;
impl TryFrom<u128> for isize type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 7] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 3] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 7] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 11] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 32] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 2] type Error = TryFromSliceError;
impl TryFrom<i64> for isize type Error = TryFromIntError;
impl TryFrom<u64> for usize type Error = TryFromIntError;
impl TryFrom<i64> for u128 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 17] type Error = TryFromSliceError;
impl TryFrom<isize> for i16 type Error = TryFromIntError;
impl TryFrom<i16> for u16 type Error = TryFromIntError;
impl TryFrom<u32> for usize type Error = TryFromIntError;
impl TryFrom<isize> for i64 type Error = TryFromIntError;
impl TryFrom<u128> for i8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 6] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 22] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 1] type Error = TryFromSliceError;
impl TryFrom<usize> for u128 type Error = TryFromIntError;
impl TryFrom<usize> for isize type Error = TryFromIntError;
impl TryFrom<i16> for u8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 2] type Error = TryFromSliceError;
impl TryFrom<i32> for u16 type Error = TryFromIntError;
impl TryFrom<u64> for i8 type Error = TryFromIntError;
impl TryFrom<i64> for u64 type Error = TryFromIntError;
impl TryFrom<usize> for u64 type Error = TryFromIntError;
impl TryFrom<u8> for i8 type Error = TryFromIntError;
impl TryFrom<i8> for u32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 28] type Error = TryFromSliceError;
impl TryFrom<i128> for i64 type Error = TryFromIntError;
impl TryFrom<i32> for isize type Error = TryFromIntError;
impl TryFrom<u128> for i32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 14] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 15] type Error = TryFromSliceError;
impl TryFrom<u128> for u16 type Error = TryFromIntError;
impl TryFrom<i128> for i8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 12] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 31] type Error = TryFromSliceError;
impl TryFrom<u32> for char type Error = CharTryFromError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 18] type Error = TryFromSliceError;
impl TryFrom<i64> for u16 type Error = TryFromIntError;
impl TryFrom<u32> for u8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 3] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 28] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 23] type Error = TryFromSliceError;
impl TryFrom<usize> for i64 type Error = TryFromIntError;
impl TryFrom<isize> for u16 type Error = TryFromIntError;
impl TryFrom<isize> for usize type Error = TryFromIntError;
impl TryFrom<u128> for u64 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 19] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 27] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 15] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 22] type Error = TryFromSliceError;
impl TryFrom<i32> for usize type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 0] type Error = TryFromSliceError;
impl TryFrom<u128> for i16 type Error = TryFromIntError;
impl TryFrom<usize> for u32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 26] type Error = TryFromSliceError;
impl TryFrom<i32> for i8 type Error = TryFromIntError;
impl TryFrom<u16> for i8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 0] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 17] type Error = TryFromSliceError;
impl TryFrom<u64> for u8 type Error = TryFromIntError;
impl TryFrom<i128> for u16 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 26] type Error = TryFromSliceError;
impl TryFrom<i8> for usize type Error = TryFromIntError;
impl TryFrom<u32> for i8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 27] type Error = TryFromSliceError;
impl TryFrom<i8> for u128 type Error = TryFromIntError;
impl TryFrom<i8> for u16 type Error = TryFromIntError;
impl TryFrom<i128> for usize type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 21] type Error = TryFromSliceError;
impl TryFrom<i32> for u32 type Error = TryFromIntError;
impl TryFrom<i128> for isize type Error = TryFromIntError;
impl TryFrom<isize> for u8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 10] type Error = TryFromSliceError;
impl TryFrom<u128> for i128 type Error = TryFromIntError;
impl TryFrom<u64> for i32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 6] type Error = TryFromSliceError;
impl TryFrom<i32> for u8 type Error = TryFromIntError;
impl TryFrom<i128> for i16 type Error = TryFromIntError;
impl TryFrom<u128> for u32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 16] type Error = TryFromSliceError;
impl TryFrom<u128> for usize type Error = TryFromIntError;
impl TryFrom<isize> for u64 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 9] type Error = TryFromSliceError;
impl TryFrom<isize> for i128 type Error = TryFromIntError;
impl TryFrom<u16> for isize type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 4] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 18] type Error = TryFromSliceError;
impl<T, U> TryFrom<U> for T where
T: From<U>, type Error = !;impl TryFrom<usize> for i128 type Error = TryFromIntError;
impl TryFrom<i16> for usize type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 29] type Error = TryFromSliceError;
impl TryFrom<isize> for i8 type Error = TryFromIntError;
impl TryFrom<usize> for i16 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 10] type Error = TryFromSliceError;
impl TryFrom<u32> for i32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 8] type Error = TryFromSliceError;
impl TryFrom<i128> for i32 type Error = TryFromIntError;
impl TryFrom<u128> for i64 type Error = TryFromIntError;
impl TryFrom<i8> for u64 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 16] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 23] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 25] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 13] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 24] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 20] type Error = TryFromSliceError;
impl TryFrom<u64> for i16 type Error = TryFromIntError;
impl TryFrom<i64> for i32 type Error = TryFromIntError;
impl TryFrom<i128> for u128 type Error = TryFromIntError;
impl TryFrom<usize> for u16 type Error = TryFromIntError;
impl TryFrom<i64> for u8 type Error = TryFromIntError;
impl TryFrom<i128> for u8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 8] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 9] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 14] type Error = TryFromSliceError;
impl TryFrom<u16> for u8 type Error = TryFromIntError;
impl TryFrom<u128> for u8 type Error = TryFromIntError;
impl TryFrom<u64> for isize type Error = TryFromIntError;
impl TryFrom<u32> for i16 type Error = TryFromIntError;
impl TryFrom<i16> for u32 type Error = TryFromIntError;
impl TryFrom<i32> for i16 type Error = TryFromIntError;
impl TryFrom<u32> for isize type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 30] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 29] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 5] type Error = TryFromSliceError;
impl TryFrom<isize> for u128 type Error = TryFromIntError;
impl TryFrom<u64> for i64 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 32] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 12] type Error = TryFromSliceError;
impl TryFrom<i16> for u64 type Error = TryFromIntError;
impl TryFrom<i16> for i8 type Error = TryFromIntError;
impl TryFrom<isize> for i32 type Error = TryFromIntError;
impl TryFrom<isize> for u32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 13] type Error = TryFromSliceError;
impl TryFrom<u32> for u16 type Error = TryFromIntError;
impl TryFrom<i32> for u128 type Error = TryFromIntError;
impl TryFrom<i8> for u8 type Error = TryFromIntError;
impl TryFrom<i32> for u64 type Error = TryFromIntError;
impl TryFrom<i64> for usize type Error = TryFromIntError;
impl TryFrom<usize> for i8 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 20] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 19] type Error = TryFromSliceError;
impl TryFrom<i64> for u32 type Error = TryFromIntError;
impl TryFrom<i128> for u64 type Error = TryFromIntError;
impl TryFrom<i16> for u128 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 5] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 4] type Error = TryFromSliceError;
impl TryFrom<u64> for u32 type Error = TryFromIntError;
impl TryFrom<i64> for i16 type Error = TryFromIntError;
impl TryFrom<u64> for u16 type Error = TryFromIntError;
impl TryFrom<usize> for i32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 21] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 25] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 30] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 31] type Error = TryFromSliceError;
impl TryFrom<i128> for u32 type Error = TryFromIntError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 11] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a [T]> for &'a [T; 1] type Error = TryFromSliceError;
impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 24] type Error = TryFromSliceError;