Enum generational_cache::collections::list::ListError
source · pub enum ListError<VE> {
ArenaError(ArenaError<VE>),
LinkBroken,
ListEmpty,
}
Expand description
Error type associated with list operations.
Variants§
ArenaError(ArenaError<VE>)
Used when there is an error in an operation performed on the underlying arena.
LinkBroken
Used when a link is not associated with a node in the underlying arena.
ListEmpty
Used when attempting to remove items from an empty list.
Trait Implementations§
Auto Trait Implementations§
impl<VE> RefUnwindSafe for ListError<VE>where VE: RefUnwindSafe,
impl<VE> Send for ListError<VE>where VE: Send,
impl<VE> Sync for ListError<VE>where VE: Sync,
impl<VE> Unpin for ListError<VE>where VE: Unpin,
impl<VE> UnwindSafe for ListError<VE>where VE: 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