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ยง
Sourcefn try_from_u64(n: u64) -> Result<Self, DbErr>
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.