pub enum DispatchPhase {
BeforeInvocation,
AfterInvocation,
}Expand description
Whether generated dispatch failed before or after typed implementation invocation began.
Variants§
BeforeInvocation
Typed implementation code was not invoked.
AfterInvocation
Typed implementation invocation began, so effects require an explicit non-commit or rollback guarantee.
Trait Implementations§
Source§impl Clone for DispatchPhase
impl Clone for DispatchPhase
impl Copy for DispatchPhase
Source§impl Debug for DispatchPhase
impl Debug for DispatchPhase
impl Eq for DispatchPhase
Source§impl PartialEq for DispatchPhase
impl PartialEq for DispatchPhase
impl StructuralPartialEq for DispatchPhase
Auto Trait Implementations§
impl Freeze for DispatchPhase
impl RefUnwindSafe for DispatchPhase
impl Send for DispatchPhase
impl Sync for DispatchPhase
impl Unpin for DispatchPhase
impl UnsafeUnpin for DispatchPhase
impl UnwindSafe for DispatchPhase
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