pub enum GenerationTransitionError {
Show 16 variants
EqualCurrentAndPrevious,
PreviousWithoutCurrent,
RecordIdentityMismatch,
InvalidEpochPair,
PointerStateMismatch,
GenerationAlreadyExists,
GenerationNotFound,
GenerationNotInactive,
CurrentNotStartupValidated,
StaleValidationResult,
ValidationNotFromLaterStartup,
NoCurrentGeneration,
NoPreviousGeneration,
EmptyManifestId,
EpochExhausted,
RevisionExhausted,
}Variants§
EqualCurrentAndPrevious
PreviousWithoutCurrent
RecordIdentityMismatch
InvalidEpochPair
PointerStateMismatch
GenerationAlreadyExists
GenerationNotFound
GenerationNotInactive
CurrentNotStartupValidated
StaleValidationResult
ValidationNotFromLaterStartup
NoCurrentGeneration
NoPreviousGeneration
EmptyManifestId
EpochExhausted
RevisionExhausted
Trait Implementations§
Source§impl Clone for GenerationTransitionError
impl Clone for GenerationTransitionError
impl Copy for GenerationTransitionError
Source§impl Debug for GenerationTransitionError
impl Debug for GenerationTransitionError
Source§impl Display for GenerationTransitionError
impl Display for GenerationTransitionError
impl Eq for GenerationTransitionError
Source§impl Error for GenerationTransitionError
impl Error for GenerationTransitionError
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()
impl StructuralPartialEq for GenerationTransitionError
Auto Trait Implementations§
impl Freeze for GenerationTransitionError
impl RefUnwindSafe for GenerationTransitionError
impl Send for GenerationTransitionError
impl Sync for GenerationTransitionError
impl Unpin for GenerationTransitionError
impl UnsafeUnpin for GenerationTransitionError
impl UnwindSafe for GenerationTransitionError
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