Struct bitcoin_random::GET_RAND_MICROS
source · pub struct GET_RAND_MICROS { /* private fields */ }
Methods from Deref<Target = Duration>§
pub const ZERO: Duration = Self::seconds(0)
pub const NANOSECOND: Duration = Self::nanoseconds(1)
pub const MICROSECOND: Duration = Self::microseconds(1)
pub const MILLISECOND: Duration = Self::milliseconds(1)
pub const SECOND: Duration = Self::seconds(1)
pub const MINUTE: Duration = Self::minutes(1)
pub const HOUR: Duration = Self::hours(1)
pub const DAY: Duration = Self::days(1)
pub const WEEK: Duration = Self::weeks(1)
pub const MIN: Duration = Self::new_unchecked(i64::MIN, -999999999)
pub const MAX: Duration = Self::new_unchecked(i64::MAX, 999999999)
Trait Implementations§
source§impl Deref for GET_RAND_MICROS
impl Deref for GET_RAND_MICROS
impl LazyStatic for GET_RAND_MICROS
Auto Trait Implementations§
impl RefUnwindSafe for GET_RAND_MICROS
impl Send for GET_RAND_MICROS
impl Sync for GET_RAND_MICROS
impl Unpin for GET_RAND_MICROS
impl UnwindSafe for GET_RAND_MICROS
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more