pub enum InventoryError {
DigestMismatch,
Lock(JournalLockError),
Persistence(PersistenceError),
}Expand description
Typed exact declared-identity or durable local inventory admission failure.
Variants§
DigestMismatch
Canonical retained declaration differs from its original selected digest.
Lock(JournalLockError)
Exclusive layout/journal ownership failed.
Persistence(PersistenceError)
Bounded JSON, model admission or durable filesystem access failed.
Trait Implementations§
Source§impl Debug for InventoryError
impl Debug for InventoryError
Source§impl Display for InventoryError
impl Display for InventoryError
Source§impl Error for InventoryError
impl Error for InventoryError
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 From<JournalLockError> for InventoryError
impl From<JournalLockError> for InventoryError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for InventoryError
impl From<PersistenceError> for InventoryError
Source§fn from(source: PersistenceError) -> Self
fn from(source: PersistenceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InventoryError
impl !UnwindSafe for InventoryError
impl Freeze for InventoryError
impl Send for InventoryError
impl Sync for InventoryError
impl Unpin for InventoryError
impl UnsafeUnpin for InventoryError
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