pub enum IndexRemoveError {
Corruption(IndexEntryCorruption),
KeyEncoding(KeyEncodeError),
KeyConstruction(InternalError),
}Expand description
IndexRemoveError
Errors returned when removing an entry from an index.
Variants§
Trait Implementations§
Source§impl Debug for IndexRemoveError
impl Debug for IndexRemoveError
Source§impl Display for IndexRemoveError
impl Display for IndexRemoveError
Source§impl Error for IndexRemoveError
impl Error for IndexRemoveError
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<IndexEntryCorruption> for IndexRemoveError
impl From<IndexEntryCorruption> for IndexRemoveError
Source§fn from(source: IndexEntryCorruption) -> Self
fn from(source: IndexEntryCorruption) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for IndexRemoveError
impl From<InternalError> for IndexRemoveError
Source§fn from(source: InternalError) -> Self
fn from(source: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<KeyEncodeError> for IndexRemoveError
impl From<KeyEncodeError> for IndexRemoveError
Source§fn from(source: KeyEncodeError) -> Self
fn from(source: KeyEncodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IndexRemoveError
impl RefUnwindSafe for IndexRemoveError
impl Send for IndexRemoveError
impl Sync for IndexRemoveError
impl Unpin for IndexRemoveError
impl UnwindSafe for IndexRemoveError
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