pub enum OperationDispatchError<R, Retry = DefinitelyNotSubmittedRetryAuthority<R>>where
R: DeviceRuntime,
Retry: DispatchRetryAuthority,{
Contract(VNextError),
Provider(OperationFailure),
Initialization(IdentifiedFailure),
InputUpload(IdentifiedFailure),
DefinitelyNotSubmitted {
failures: Vec<IdentifiedFailure>,
retry: Retry,
},
SubmissionIndeterminate {
recovery: IndeterminateSubmissionHandle<R>,
},
PostSubmitContract {
error: VNextError,
completion: CompletionHandle<R>,
},
}Variants§
Contract(VNextError)
Provider(OperationFailure)
Initialization(IdentifiedFailure)
InputUpload(IdentifiedFailure)
DefinitelyNotSubmitted
SubmissionIndeterminate
Fields
§
recovery: IndeterminateSubmissionHandle<R>PostSubmitContract
Trait Implementations§
Source§impl<R, Retry> Debug for OperationDispatchError<R, Retry>where
R: DeviceRuntime,
Retry: DispatchRetryAuthority,
impl<R, Retry> Debug for OperationDispatchError<R, Retry>where
R: DeviceRuntime,
Retry: DispatchRetryAuthority,
Source§impl<R, Retry> Display for OperationDispatchError<R, Retry>where
R: DeviceRuntime,
Retry: DispatchRetryAuthority,
impl<R, Retry> Display for OperationDispatchError<R, Retry>where
R: DeviceRuntime,
Retry: DispatchRetryAuthority,
Source§impl<R, Retry> Error for OperationDispatchError<R, Retry>where
R: DeviceRuntime,
Retry: DispatchRetryAuthority,
impl<R, Retry> Error for OperationDispatchError<R, Retry>where
R: DeviceRuntime,
Retry: DispatchRetryAuthority,
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<R, Retry> Freeze for OperationDispatchError<R, Retry>
impl<R, Retry> RefUnwindSafe for OperationDispatchError<R, Retry>where
Retry: RefUnwindSafe,
IndeterminateSubmissionHandle<R>: RefUnwindSafe,
CompletionHandle<R>: RefUnwindSafe,
impl<R, Retry> Send for OperationDispatchError<R, Retry>
impl<R, Retry> Sync for OperationDispatchError<R, Retry>
impl<R, Retry> Unpin for OperationDispatchError<R, Retry>
impl<R, Retry> UnsafeUnpin for OperationDispatchError<R, Retry>where
Retry: UnsafeUnpin,
IndeterminateSubmissionHandle<R>: UnsafeUnpin,
CompletionHandle<R>: UnsafeUnpin,
impl<R, Retry> UnwindSafe for OperationDispatchError<R, Retry>where
Retry: UnwindSafe,
IndeterminateSubmissionHandle<R>: UnwindSafe,
CompletionHandle<R>: 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