pub enum TerminalInventoryError {
DuplicateRetainedPrincipal,
LostPrincipalBinding {
canister: String,
},
UnknownParent {
canister: String,
parent: String,
},
RetainedParentConflict {
canister: String,
retained_parent: String,
terminal_parent: String,
},
IdleCycleObservationConflict {
canister: String,
expected: u128,
observed: u128,
},
CycleObservationLifecycleConflict {
canister: String,
},
}Expand description
Exact terminal-inventory merge or cycle-observation invariant failure.
Variants§
DuplicateRetainedPrincipal
LostPrincipalBinding
UnknownParent
RetainedParentConflict
IdleCycleObservationConflict
CycleObservationLifecycleConflict
Trait Implementations§
Source§impl Debug for TerminalInventoryError
impl Debug for TerminalInventoryError
Source§impl Display for TerminalInventoryError
impl Display for TerminalInventoryError
Source§impl Error for TerminalInventoryError
impl Error for TerminalInventoryError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for TerminalInventoryError
impl RefUnwindSafe for TerminalInventoryError
impl Send for TerminalInventoryError
impl Sync for TerminalInventoryError
impl Unpin for TerminalInventoryError
impl UnsafeUnpin for TerminalInventoryError
impl UnwindSafe for TerminalInventoryError
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