#[repr(C)]pub struct TimeStamp {
pub mValue: u64,
}Fields§
§mValue: u64When built with PRIntervalTime, a value of 0 means this instance is “null”. Otherwise, the low 32 bits represent a PRIntervalTime, and the high 32 bits represent a counter of the number of rollovers of PRIntervalTime that we’ve seen. This counter starts at 1 to avoid a real time colliding with the “null” value.
PR_INTERVAL_MAX is set at 100,000 ticks per second. So the minimum time to wrap around is about 2^64/100000 seconds, i.e. about 5,849,424 years.
When using a system clock, a value is system dependent.
Trait Implementations§
impl Copy for TimeStamp
impl StructuralPartialEq for TimeStamp
Auto Trait Implementations§
impl Freeze for TimeStamp
impl RefUnwindSafe for TimeStamp
impl Send for TimeStamp
impl Sync for TimeStamp
impl Unpin for TimeStamp
impl UnwindSafe for TimeStamp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes