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