Struct SubsecNanosecond
pub struct SubsecNanosecond(/* private field */);
The supported range of fractional seconds, expressed in units of nanoseconds.
Implementations
impl SubsecNanosecond
const MIN: i32 = <SubsecNanosecond as Bounds>::MIN;const MAX: i32 = <SubsecNanosecond as Bounds>::MAX;const LEN: i128 = _;const fn error() -> BoundsErrorfn check(n: impl Into<i64>) -> Result<i32, BoundsError>const fn checkc(n: i64) -> Result<i32, BoundsError>const fn checked_add(n1: i32, n2: i32) -> Result<i32, BoundsError>fn checked_mul(n1: i32, n2: i32) -> Result<i32, BoundsError>
Trait Implementations
impl Bounds for SubsecNanosecond
const WHAT: &'static str = "subsecond nanosecond";const MIN: Self::Primitive = 0;const MAX: Self::Primitive = _;type Primitive = i32;type Error = BoundsError;fn error() -> BoundsError
impl Eq for SubsecNanosecond
impl PartialEq for SubsecNanosecond
fn eq(&self, other: &Self) -> bool