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