#[repr(C)]pub struct TimeEvent {
pub name: Ustr,
pub event_id: UUID4,
pub ts_event: UnixNanos,
pub ts_init: UnixNanos,
}Expand description
Represents a named timer event.
ts_event records the scheduled event time, while ts_init records
when the event instance was initialized.
Fields§
§name: UstrThe timer event name.
event_id: UUID4The unique identifier for the event.
ts_event: UnixNanosUNIX timestamp (nanoseconds) when the event is scheduled to occur.
ts_init: UnixNanosUNIX timestamp (nanoseconds) when the instance was initialized.
Implementations§
Trait Implementations§
impl Eq for TimeEvent
impl StructuralPartialEq for TimeEvent
Auto Trait Implementations§
impl Freeze for TimeEvent
impl RefUnwindSafe for TimeEvent
impl Send for TimeEvent
impl Sync for TimeEvent
impl Unpin for TimeEvent
impl UnsafeUnpin for TimeEvent
impl UnwindSafe for TimeEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.