Trait TryFromU64

pub trait TryFromU64: Sized {
    // Required method
    fn try_from_u64(n: u64) -> Result<Self, DbErr>;
}
Expand description

Try to convert a type to a u64

Required Methods§

fn try_from_u64(n: u64) -> Result<Self, DbErr>

The method to convert the type to a u64

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl TryFromU64 for bool

§

impl TryFromU64 for f32

§

impl TryFromU64 for f64

§

impl TryFromU64 for i8

§

impl TryFromU64 for i16

§

impl TryFromU64 for i32

§

impl TryFromU64 for i64

§

impl TryFromU64 for u8

§

impl TryFromU64 for u16

§

impl TryFromU64 for u32

§

impl TryFromU64 for u64

§

impl TryFromU64 for String

§

impl TryFromU64 for Vec<u8>

§

impl<T0, T1> TryFromU64 for (T0, T1)
where T0: TryFromU64, T1: TryFromU64,

§

impl<T0, T1, T2> TryFromU64 for (T0, T1, T2)
where T0: TryFromU64, T1: TryFromU64, T2: TryFromU64,

§

impl<T0, T1, T2, T3> TryFromU64 for (T0, T1, T2, T3)
where T0: TryFromU64, T1: TryFromU64, T2: TryFromU64, T3: TryFromU64,

§

impl<T0, T1, T2, T3, T4> TryFromU64 for (T0, T1, T2, T3, T4)
where T0: TryFromU64, T1: TryFromU64, T2: TryFromU64, T3: TryFromU64, T4: TryFromU64,

§

impl<T0, T1, T2, T3, T4, T5> TryFromU64 for (T0, T1, T2, T3, T4, T5)
where T0: TryFromU64, T1: TryFromU64, T2: TryFromU64, T3: TryFromU64, T4: TryFromU64, T5: TryFromU64,

§

impl<T0, T1, T2, T3, T4, T5, T6> TryFromU64 for (T0, T1, T2, T3, T4, T5, T6)
where T0: TryFromU64, T1: TryFromU64, T2: TryFromU64, T3: TryFromU64, T4: TryFromU64, T5: TryFromU64, T6: TryFromU64,

§

impl<T0, T1, T2, T3, T4, T5, T6, T7> TryFromU64 for (T0, T1, T2, T3, T4, T5, T6, T7)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromU64 for (T0, T1, T2, T3, T4, T5, T6, T7, T8)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromU64 for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromU64 for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromU64 for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

Implementors§