Enum odra_core::CollectionError
source · pub enum CollectionError {
IndexOutOfBounds,
}Expand description
Error that can occur while operating on a collection.
Variants§
IndexOutOfBounds
The requested index is bigger than the max collection index.
Trait Implementations§
source§impl From<CollectionError> for ExecutionError
impl From<CollectionError> for ExecutionError
source§fn from(error: CollectionError) -> Self
fn from(error: CollectionError) -> Self
Converts to this type from the input type.
source§impl From<CollectionError> for OdraError
impl From<CollectionError> for OdraError
source§fn from(error: CollectionError) -> Self
fn from(error: CollectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CollectionError
impl RefUnwindSafe for CollectionError
impl Send for CollectionError
impl Sync for CollectionError
impl Unpin for CollectionError
impl UnwindSafe for CollectionError
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