pub enum BootstrapRetirementError {
Ledger(LedgerCommitError),
Retirement(AllocationRetirementError),
}Expand description
BootstrapRetirementError
Failure to stage or commit an explicit allocation retirement.
Variants§
Ledger(LedgerCommitError)
Ledger recovery or protected commit failed.
Retirement(AllocationRetirementError)
Retirement conflicted with historical allocation facts.
Trait Implementations§
Source§impl Clone for BootstrapRetirementError
impl Clone for BootstrapRetirementError
Source§fn clone(&self) -> BootstrapRetirementError
fn clone(&self) -> BootstrapRetirementError
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 Debug for BootstrapRetirementError
impl Debug for BootstrapRetirementError
Source§impl Display for BootstrapRetirementError
impl Display for BootstrapRetirementError
Source§impl Error for BootstrapRetirementError
impl Error for BootstrapRetirementError
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 PartialEq for BootstrapRetirementError
impl PartialEq for BootstrapRetirementError
Source§fn eq(&self, other: &BootstrapRetirementError) -> bool
fn eq(&self, other: &BootstrapRetirementError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BootstrapRetirementError
impl StructuralPartialEq for BootstrapRetirementError
Auto Trait Implementations§
impl Freeze for BootstrapRetirementError
impl RefUnwindSafe for BootstrapRetirementError
impl Send for BootstrapRetirementError
impl Sync for BootstrapRetirementError
impl Unpin for BootstrapRetirementError
impl UnsafeUnpin for BootstrapRetirementError
impl UnwindSafe for BootstrapRetirementError
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