pub enum BootstrapRetirementError<C> {
Ledger(LedgerCommitError<C>),
Retirement(AllocationRetirementError),
}Expand description
BootstrapRetirementError
Failure to stage or commit an explicit allocation retirement.
Variants§
Ledger(LedgerCommitError<C>)
Ledger recovery or protected commit failed.
Retirement(AllocationRetirementError)
Retirement conflicted with historical allocation facts.
Trait Implementations§
Source§impl<C: Clone> Clone for BootstrapRetirementError<C>
impl<C: Clone> Clone for BootstrapRetirementError<C>
Source§fn clone(&self) -> BootstrapRetirementError<C>
fn clone(&self) -> BootstrapRetirementError<C>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for BootstrapRetirementError<C>
impl<C: Debug> Debug for BootstrapRetirementError<C>
Source§impl<C> Display for BootstrapRetirementError<C>where
LedgerCommitError<C>: Display,
impl<C> Display for BootstrapRetirementError<C>where
LedgerCommitError<C>: Display,
Source§impl<C> Error for BootstrapRetirementError<C>
impl<C> Error for BootstrapRetirementError<C>
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()
Source§impl<C: PartialEq> PartialEq for BootstrapRetirementError<C>
impl<C: PartialEq> PartialEq for BootstrapRetirementError<C>
Source§fn eq(&self, other: &BootstrapRetirementError<C>) -> bool
fn eq(&self, other: &BootstrapRetirementError<C>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<C: Eq> Eq for BootstrapRetirementError<C>
impl<C> StructuralPartialEq for BootstrapRetirementError<C>
Auto Trait Implementations§
impl<C> Freeze for BootstrapRetirementError<C>where
C: Freeze,
impl<C> RefUnwindSafe for BootstrapRetirementError<C>where
C: RefUnwindSafe,
impl<C> Send for BootstrapRetirementError<C>where
C: Send,
impl<C> Sync for BootstrapRetirementError<C>where
C: Sync,
impl<C> Unpin for BootstrapRetirementError<C>where
C: Unpin,
impl<C> UnsafeUnpin for BootstrapRetirementError<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for BootstrapRetirementError<C>where
C: UnwindSafe,
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