pub enum CallOutcome {
Success(CallOperationResponse),
ProtocolFailure(ProtocolError),
Unknown {
reason: OutcomeUnknownReason,
failure: Option<ClientError>,
},
NotDispatched(ClientError),
}Expand description
Terminal state retained for an operation call.
Variants§
Success(CallOperationResponse)
A result validated with the context’s fixed descriptor.
ProtocolFailure(ProtocolError)
A canonical Host failure whose non-execution guarantee is known.
Unknown
Dispatch occurred, but execution or commit cannot be ruled out.
Fields
§
reason: OutcomeUnknownReasonStable reason for the uncertainty.
§
failure: Option<ClientError>Optional local or Host diagnostic.
NotDispatched(ClientError)
The request failed before dispatch and therefore has no unknown effect.
Trait Implementations§
Source§impl Clone for CallOutcome
impl Clone for CallOutcome
Source§impl Debug for CallOutcome
impl Debug for CallOutcome
Source§impl PartialEq for CallOutcome
impl PartialEq for CallOutcome
impl StructuralPartialEq for CallOutcome
Auto Trait Implementations§
impl Freeze for CallOutcome
impl RefUnwindSafe for CallOutcome
impl Send for CallOutcome
impl Sync for CallOutcome
impl Unpin for CallOutcome
impl UnsafeUnpin for CallOutcome
impl UnwindSafe for CallOutcome
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