#[non_exhaustive]pub enum AbortReason {
RequesterAbort,
FillTimeout,
ServerError,
Unknown,
}Expand description
Why a rotation was abandoned.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RequesterAbort
The requester sent RotationAbort.
FillTimeout
The requester did not send RotationFilled within fill_ms.
ServerError
The server could not build or switch to the new file.
Unknown
A reason this version does not know. Treat the rotation as abandoned.
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 Hash for AbortReason
impl Hash 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