pub enum BusMsg {
Dispatch {
source: String,
kind: String,
payload: Value,
},
Clear,
}Expand description
Every input the bus accepts (FC-2) — the only legal way to mutate an
ActionBus.
Variants§
Dispatch
Enqueue an action from source of kind carrying payload.
Clear
Drop every queued action without delivering it.
Trait Implementations§
impl StructuralPartialEq for BusMsg
Auto Trait Implementations§
impl Freeze for BusMsg
impl RefUnwindSafe for BusMsg
impl Send for BusMsg
impl Sync for BusMsg
impl Unpin for BusMsg
impl UnsafeUnpin for BusMsg
impl UnwindSafe for BusMsg
Blanket Implementations§
impl<T> Allocation for T
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