pub enum ArrayVecError {
CapacityOverflow,
}Expand description
Errors that can occur when operating on an ArrayVec.
Variants§
CapacityOverflow
The operation would exceed the fixed capacity of the ArrayVec.
Trait Implementations§
Source§impl Clone for ArrayVecError
impl Clone for ArrayVecError
Source§fn clone(&self) -> ArrayVecError
fn clone(&self) -> ArrayVecError
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 ArrayVecError
impl Debug for ArrayVecError
Source§impl Display for ArrayVecError
impl Display for ArrayVecError
Source§impl Error for ArrayVecError
impl Error for ArrayVecError
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()
Auto Trait Implementations§
impl Freeze for ArrayVecError
impl RefUnwindSafe for ArrayVecError
impl Send for ArrayVecError
impl Sync for ArrayVecError
impl Unpin for ArrayVecError
impl UnsafeUnpin for ArrayVecError
impl UnwindSafe for ArrayVecError
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