pub enum IndexedVecError {
TooManyItems,
}Expand description
Error returned when too many items are added to an IndexedVec.
Variants§
TooManyItems
The number of items exceeds the maximum supported by ID type.
Trait Implementations§
Source§impl Clone for IndexedVecError
impl Clone for IndexedVecError
Source§fn clone(&self) -> IndexedVecError
fn clone(&self) -> IndexedVecError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexedVecError
impl Debug for IndexedVecError
Source§impl Display for IndexedVecError
impl Display for IndexedVecError
Source§impl Error for IndexedVecError
impl Error for IndexedVecError
1.30.0 · 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 PartialEq for IndexedVecError
impl PartialEq for IndexedVecError
impl Eq for IndexedVecError
impl StructuralPartialEq for IndexedVecError
Auto Trait Implementations§
impl Freeze for IndexedVecError
impl RefUnwindSafe for IndexedVecError
impl Send for IndexedVecError
impl Sync for IndexedVecError
impl Unpin for IndexedVecError
impl UnwindSafe for IndexedVecError
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