pub struct ScheduleAfter {
pub id: TimerId,
pub generation: TimerGeneration,
pub after: Duration,
}Expand description
Request scheduling relative to the interpreter’s clock.
Constructing this value does not observe a clock. The interpreter resolves
after only when it interprets the successful transition that emitted the
request.
Fields§
§id: TimerId§generation: TimerGeneration§after: DurationImplementations§
Source§impl ScheduleAfter
impl ScheduleAfter
pub const fn new( id: TimerId, generation: TimerGeneration, after: Duration, ) -> Self
Trait Implementations§
Source§impl Clone for ScheduleAfter
impl Clone for ScheduleAfter
Source§fn clone(&self) -> ScheduleAfter
fn clone(&self) -> ScheduleAfter
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 ScheduleAfter
Source§impl Debug for ScheduleAfter
impl Debug for ScheduleAfter
impl Eq for ScheduleAfter
Source§impl From<(TimerId, TimerGeneration, Duration)> for ScheduleAfter
impl From<(TimerId, TimerGeneration, Duration)> for ScheduleAfter
Source§impl PartialEq for ScheduleAfter
impl PartialEq for ScheduleAfter
Source§impl<Sends> SendInput<ScheduleAfter, Own> for ReceiveTimeoutSends<Sends>
impl<Sends> SendInput<ScheduleAfter, Own> for ReceiveTimeoutSends<Sends>
fn emit(&mut self, input: ScheduleAfter)
impl StructuralPartialEq for ScheduleAfter
Auto Trait Implementations§
impl Freeze for ScheduleAfter
impl RefUnwindSafe for ScheduleAfter
impl Send for ScheduleAfter
impl Sync for ScheduleAfter
impl Unpin for ScheduleAfter
impl UnsafeUnpin for ScheduleAfter
impl UnwindSafe for ScheduleAfter
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