pub enum OnEventAction {
Continue,
Abort,
}Expand description
Control result returned by TraceObserver::on_event.
Variants§
Continue
The transport should continue processing.
Abort
The transport should abort immediately. The observer has recorded an error in its binding-owned slot; the caller should surface that error after stopping.
Trait Implementations§
Source§impl Clone for OnEventAction
impl Clone for OnEventAction
impl Copy for OnEventAction
Source§impl Debug for OnEventAction
impl Debug for OnEventAction
impl Eq for OnEventAction
Source§impl PartialEq for OnEventAction
impl PartialEq for OnEventAction
impl StructuralPartialEq for OnEventAction
Auto Trait Implementations§
impl Freeze for OnEventAction
impl RefUnwindSafe for OnEventAction
impl Send for OnEventAction
impl Sync for OnEventAction
impl Unpin for OnEventAction
impl UnsafeUnpin for OnEventAction
impl UnwindSafe for OnEventAction
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