pub enum DispatchResult {
Immediate(Vec<(String, Box<dyn SlotValue>)>),
Async(CommandId),
}Expand description
Return type of <Role>Runtime::dispatch_atomic.
Variants§
Immediate(Vec<(String, Box<dyn SlotValue>)>)
Outputs ready synchronously.
Async(CommandId)
Impl will call ctx.complete_command(cmd_id, outputs) later.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DispatchResult
impl !UnwindSafe for DispatchResult
impl Freeze for DispatchResult
impl Send for DispatchResult
impl Sync for DispatchResult
impl Unpin for DispatchResult
impl UnsafeUnpin for DispatchResult
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