pub struct TimerRegistrationId { /* private fields */ }Expand description
Inert identity of one registration and its cumulative measurements.
Equality proves a shared counter lifetime only within one canister’s observed runtime history. Reinstalls or restored/forked canister state are separate histories. The sequence never wraps: exhaustion rejects registration. Values are not provider handles or mutation capabilities.
Implementations§
Trait Implementations§
Source§impl Clone for TimerRegistrationId
impl Clone for TimerRegistrationId
Source§fn clone(&self) -> TimerRegistrationId
fn clone(&self) -> TimerRegistrationId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerRegistrationId
Source§impl Debug for TimerRegistrationId
impl Debug for TimerRegistrationId
impl Eq for TimerRegistrationId
Source§impl Hash for TimerRegistrationId
impl Hash for TimerRegistrationId
Source§impl Ord for TimerRegistrationId
impl Ord for TimerRegistrationId
Source§fn cmp(&self, other: &TimerRegistrationId) -> Ordering
fn cmp(&self, other: &TimerRegistrationId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TimerRegistrationId
impl PartialEq for TimerRegistrationId
Source§impl PartialOrd for TimerRegistrationId
impl PartialOrd for TimerRegistrationId
impl StructuralPartialEq for TimerRegistrationId
Auto Trait Implementations§
impl Freeze for TimerRegistrationId
impl RefUnwindSafe for TimerRegistrationId
impl Send for TimerRegistrationId
impl Sync for TimerRegistrationId
impl Unpin for TimerRegistrationId
impl UnsafeUnpin for TimerRegistrationId
impl UnwindSafe for TimerRegistrationId
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