pub enum BootstrapError<P> {
Ledger(LedgerCommitError),
Validation(AllocationValidationError<P>),
Staging(AllocationStageError),
}Expand description
BootstrapError
Failure to recover, validate, or commit an allocation generation.
Variants§
Ledger(LedgerCommitError)
Ledger recovery or protected commit failed.
Validation(AllocationValidationError<P>)
Policy or historical allocation validation failed.
Staging(AllocationStageError)
Validated declarations could not be staged against the recovered ledger.
Trait Implementations§
Source§impl<P: Clone> Clone for BootstrapError<P>
impl<P: Clone> Clone for BootstrapError<P>
Source§fn clone(&self) -> BootstrapError<P>
fn clone(&self) -> BootstrapError<P>
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<P: Debug> Debug for BootstrapError<P>
impl<P: Debug> Debug for BootstrapError<P>
Source§impl<P> Display for BootstrapError<P>where
AllocationValidationError<P>: Display,
impl<P> Display for BootstrapError<P>where
AllocationValidationError<P>: Display,
Source§impl<P> Error for BootstrapError<P>
impl<P> Error for BootstrapError<P>
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<P: PartialEq> PartialEq for BootstrapError<P>
impl<P: PartialEq> PartialEq for BootstrapError<P>
Source§fn eq(&self, other: &BootstrapError<P>) -> bool
fn eq(&self, other: &BootstrapError<P>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<P: Eq> Eq for BootstrapError<P>
impl<P> StructuralPartialEq for BootstrapError<P>
Auto Trait Implementations§
impl<P> Freeze for BootstrapError<P>where
P: Freeze,
impl<P> RefUnwindSafe for BootstrapError<P>where
P: RefUnwindSafe,
impl<P> Send for BootstrapError<P>where
P: Send,
impl<P> Sync for BootstrapError<P>where
P: Sync,
impl<P> Unpin for BootstrapError<P>where
P: Unpin,
impl<P> UnsafeUnpin for BootstrapError<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for BootstrapError<P>where
P: 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