pub enum ErrorOrInsertSlot<E> {
Error(CustomError<E>),
InsertSlot(InsertSlot),
}
Expand description
Error raised by RawTable::find_or_find_insert_slot
.
Variants§
Trait Implementations§
Source§impl<E> From<CustomError<E>> for ErrorOrInsertSlot<E>
impl<E> From<CustomError<E>> for ErrorOrInsertSlot<E>
Source§fn from(error: CustomError<E>) -> Self
fn from(error: CustomError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for ErrorOrInsertSlot<E>where
E: Freeze,
impl<E> RefUnwindSafe for ErrorOrInsertSlot<E>where
E: RefUnwindSafe,
impl<E> Send for ErrorOrInsertSlot<E>where
E: Send,
impl<E> Sync for ErrorOrInsertSlot<E>where
E: Sync,
impl<E> Unpin for ErrorOrInsertSlot<E>where
E: Unpin,
impl<E> UnwindSafe for ErrorOrInsertSlot<E>where
E: 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