pub enum AbortReason {
Unspecified,
RefConflict,
EpochMismatch,
PackMissing,
ReplayRace,
Internal,
Abandoned,
}Expand description
The hooks protocol’s terminal abort reasons.
Variants§
Unspecified
A policy or pre-apply refusal without a more specific reason.
RefConflict
A guarded ref update failed.
EpochMismatch
An epoch changed.
PackMissing
A required pack is missing.
ReplayRace
A concurrent request won the replay race.
Internal
An internal failure prevented the apply.
Abandoned
Reconcile found an abandoned pending reservation.
Trait Implementations§
Source§impl Clone for AbortReason
impl Clone for AbortReason
impl Copy for AbortReason
Source§impl Debug for AbortReason
impl Debug for AbortReason
Source§impl<'de> Deserialize<'de> for AbortReason
impl<'de> Deserialize<'de> for AbortReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AbortReason
Source§impl PartialEq for AbortReason
impl PartialEq for AbortReason
Source§impl Serialize for AbortReason
impl Serialize for AbortReason
impl StructuralPartialEq for AbortReason
Auto Trait Implementations§
impl Freeze for AbortReason
impl RefUnwindSafe for AbortReason
impl Send for AbortReason
impl Sync for AbortReason
impl Unpin for AbortReason
impl UnsafeUnpin for AbortReason
impl UnwindSafe for AbortReason
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