Struct sparkles_core::timestamp::instant::InstantTimestamp
source · pub struct InstantTimestamp;
Trait Implementations§
source§impl TimestampProvider for InstantTimestamp
impl TimestampProvider for InstantTimestamp
const COUNTS_PER_NS: f64 = 1f64
type TimestampType = u64
source§fn now() -> Self::TimestampType
fn now() -> Self::TimestampType
Returns current timestamp from provider.
source§const TIMESTAMP_VALID_BITS: u16 = _
const TIMESTAMP_VALID_BITS: u16 = _
Define how many bits are valid in timestamp, returned from now()
Auto Trait Implementations§
impl Freeze for InstantTimestamp
impl RefUnwindSafe for InstantTimestamp
impl Send for InstantTimestamp
impl Sync for InstantTimestamp
impl Unpin for InstantTimestamp
impl UnwindSafe for InstantTimestamp
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
Mutably borrows from an owned value. Read more