pub enum HandlerLane {
Sync,
Async,
}Expand description
Delivery lane selected by an EventHandler.
Variants§
Sync
Runs inline on the caller’s publish path. Failure propagates.
Async
Runs through an off-path carrier. Failure is logged and does not fail publish.
Trait Implementations§
Source§impl Clone for HandlerLane
impl Clone for HandlerLane
Source§fn clone(&self) -> HandlerLane
fn clone(&self) -> HandlerLane
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 moreimpl Copy for HandlerLane
Source§impl Debug for HandlerLane
impl Debug for HandlerLane
impl Eq for HandlerLane
Source§impl PartialEq for HandlerLane
impl PartialEq for HandlerLane
Source§fn eq(&self, other: &HandlerLane) -> bool
fn eq(&self, other: &HandlerLane) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HandlerLane
Auto Trait Implementations§
impl Freeze for HandlerLane
impl RefUnwindSafe for HandlerLane
impl Send for HandlerLane
impl Sync for HandlerLane
impl Unpin for HandlerLane
impl UnsafeUnpin for HandlerLane
impl UnwindSafe for HandlerLane
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