pub enum EffectGuarantee {
NotCommitted,
Unknown,
}Expand description
Whether an operation failure proves that no effects were committed.
This guarantee is consumed by Host dispatch when choosing a protocol failure:
only NotCommitted failures may become Internal or
ResourceLimitExceeded; Unknown failures must become
OperationOutcomeUnknown.
Variants§
NotCommitted
The operation was not invoked, or every effect was rolled back.
Unknown
The operation may have committed effects.
Trait Implementations§
Source§impl Clone for EffectGuarantee
impl Clone for EffectGuarantee
impl Copy for EffectGuarantee
Source§impl Debug for EffectGuarantee
impl Debug for EffectGuarantee
impl Eq for EffectGuarantee
Source§impl PartialEq for EffectGuarantee
impl PartialEq for EffectGuarantee
impl StructuralPartialEq for EffectGuarantee
Auto Trait Implementations§
impl Freeze for EffectGuarantee
impl RefUnwindSafe for EffectGuarantee
impl Send for EffectGuarantee
impl Sync for EffectGuarantee
impl Unpin for EffectGuarantee
impl UnsafeUnpin for EffectGuarantee
impl UnwindSafe for EffectGuarantee
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