pub trait TryFromMaybeNonZero: Sized {
// Required method
fn try_from(value: u64) -> Result<Self, ZeroError>;
}
Expand description
A type that may fallibly convert from a u64 because the value is 0.
Required Methods§
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.