pub enum TimerSchedule {
After(Duration),
At(u64),
}Expand description
Initial or explicit request for an ordinary timer deadline.
Variants§
After(Duration)
Schedule relative to the current IC time.
At(u64)
Schedule at an absolute IC timestamp in nanoseconds.
Trait Implementations§
Source§impl Clone for TimerSchedule
impl Clone for TimerSchedule
Source§fn clone(&self) -> TimerSchedule
fn clone(&self) -> TimerSchedule
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 TimerSchedule
Source§impl Debug for TimerSchedule
impl Debug for TimerSchedule
impl Eq for TimerSchedule
Source§impl PartialEq for TimerSchedule
impl PartialEq for TimerSchedule
impl StructuralPartialEq for TimerSchedule
Auto Trait Implementations§
impl Freeze for TimerSchedule
impl RefUnwindSafe for TimerSchedule
impl Send for TimerSchedule
impl Sync for TimerSchedule
impl Unpin for TimerSchedule
impl UnsafeUnpin for TimerSchedule
impl UnwindSafe for TimerSchedule
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