pub enum SubmitFailure<E> {
Rejected(BackendError),
Indeterminate {
error: BackendError,
event: E,
},
}Expand description
Submission failure that makes the provider acceptance boundary explicit.
Variants§
Rejected(BackendError)
The backend guarantees execution was not accepted and no resources were retained.
Indeterminate
Acceptance is uncertain; the event owns the resources until it reaches a terminal state.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for SubmitFailure<E>where
E: Freeze,
impl<E> RefUnwindSafe for SubmitFailure<E>where
E: RefUnwindSafe,
impl<E> Send for SubmitFailure<E>where
E: Send,
impl<E> Sync for SubmitFailure<E>where
E: Sync,
impl<E> Unpin for SubmitFailure<E>where
E: Unpin,
impl<E> UnsafeUnpin for SubmitFailure<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for SubmitFailure<E>where
E: UnwindSafe,
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