Struct ic_cdk_timers::TimerId
source · pub struct TimerId(/* private fields */);
Expand description
Type returned by the set_timer
and set_timer_interval
functions. Pass to clear_timer
to remove the timer.
Trait Implementations§
source§impl Key for TimerId
impl Key for TimerId
source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moresource§impl Ord for TimerId
impl Ord for TimerId
source§impl PartialEq for TimerId
impl PartialEq for TimerId
source§impl PartialOrd for TimerId
impl PartialOrd for TimerId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TimerId
impl Eq for TimerId
impl StructuralEq for TimerId
impl StructuralPartialEq for TimerId
Auto Trait Implementations§
impl RefUnwindSafe for TimerId
impl Send for TimerId
impl Sync for TimerId
impl Unpin for TimerId
impl UnwindSafe for TimerId
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