pub enum RuntimeCommand {
ScheduleOnce {
id: String,
delay_ms: u64,
dispatch: RuntimeEvent,
},
ScheduleInterval {
id: String,
every_ms: u64,
dispatch: RuntimeEvent,
},
Cancel {
id: String,
},
}Expand description
Internal runtime commands collected from Context and executed by the adapter.
Variants§
Trait Implementations§
Source§impl Clone for RuntimeCommand
impl Clone for RuntimeCommand
Source§fn clone(&self) -> RuntimeCommand
fn clone(&self) -> RuntimeCommand
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 moreSource§impl Debug for RuntimeCommand
impl Debug for RuntimeCommand
Source§impl PartialEq for RuntimeCommand
impl PartialEq for RuntimeCommand
Source§fn eq(&self, other: &RuntimeCommand) -> bool
fn eq(&self, other: &RuntimeCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeCommand
Auto Trait Implementations§
impl Freeze for RuntimeCommand
impl RefUnwindSafe for RuntimeCommand
impl Send for RuntimeCommand
impl Sync for RuntimeCommand
impl Unpin for RuntimeCommand
impl UnsafeUnpin for RuntimeCommand
impl UnwindSafe for RuntimeCommand
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