pub enum DispatchFrame {
Event(DispatchEvent),
Command(DispatchCommand),
}Expand description
Variants§
Event(DispatchEvent)
A task-state update; see DispatchEvent.
Command(DispatchCommand)
A request that drives a task; see DispatchCommand.
Trait Implementations§
Source§impl Clone for DispatchFrame
impl Clone for DispatchFrame
Source§fn clone(&self) -> DispatchFrame
fn clone(&self) -> DispatchFrame
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 DispatchFrame
impl Debug for DispatchFrame
impl Eq for DispatchFrame
Source§impl From<DispatchCommand> for DispatchFrame
impl From<DispatchCommand> for DispatchFrame
Source§fn from(command: DispatchCommand) -> Self
fn from(command: DispatchCommand) -> Self
Wrap a DispatchCommand as DispatchFrame::Command.
Source§impl From<DispatchEvent> for DispatchFrame
impl From<DispatchEvent> for DispatchFrame
Source§fn from(event: DispatchEvent) -> Self
fn from(event: DispatchEvent) -> Self
Wrap a DispatchEvent as DispatchFrame::Event.
Source§impl From<DispatchFrame> for DataFrame
impl From<DispatchFrame> for DataFrame
Source§fn from(frame: DispatchFrame) -> Self
fn from(frame: DispatchFrame) -> Self
Wrap a DispatchFrame as a DataFrame::Dispatch.
Source§impl PartialEq for DispatchFrame
impl PartialEq for DispatchFrame
impl StructuralPartialEq for DispatchFrame
Auto Trait Implementations§
impl Freeze for DispatchFrame
impl RefUnwindSafe for DispatchFrame
impl Send for DispatchFrame
impl Sync for DispatchFrame
impl Unpin for DispatchFrame
impl UnsafeUnpin for DispatchFrame
impl UnwindSafe for DispatchFrame
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