pub enum DispatchMode {
Waterfall,
Parallel,
Bail,
}Expand description
Event dispatch execution strategies.
Variants§
Waterfall
Sequential pipeline: output of subscriber n becomes input payload to subscriber n+1.
Parallel
Concurrent fork-join: executes all subscribers and collects all results.
Bail
Speculative execution: executes subscribers sequentially until the first error, short-circuiting immediately.
Trait Implementations§
Source§impl Clone for DispatchMode
impl Clone for DispatchMode
impl Copy for DispatchMode
Source§impl Debug for DispatchMode
impl Debug for DispatchMode
impl Eq for DispatchMode
Source§impl PartialEq for DispatchMode
impl PartialEq for DispatchMode
impl StructuralPartialEq for DispatchMode
Auto Trait Implementations§
impl Forget for DispatchMode
impl Freeze for DispatchMode
impl RefUnwindSafe for DispatchMode
impl Send for DispatchMode
impl Sync for DispatchMode
impl Unpin for DispatchMode
impl UnsafeUnpin for DispatchMode
impl UnwindSafe for DispatchMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.