Struct arraydeque::CapacityError
source · pub struct CapacityError<T = ()> {
pub element: T,
}
Expand description
Error value indicating insufficient capacity
This error only occur to ArrayDeque<_, Saturating>
.
Fields§
§element: T
The element that caused the error.
Trait Implementations§
source§impl<T: Clone> Clone for CapacityError<T>
impl<T: Clone> Clone for CapacityError<T>
source§fn clone(&self) -> CapacityError<T>
fn clone(&self) -> CapacityError<T>
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T> Debug for CapacityError<T>
impl<T> Debug for CapacityError<T>
source§impl<T> Display for CapacityError<T>
impl<T> Display for CapacityError<T>
source§impl<T: Ord> Ord for CapacityError<T>
impl<T: Ord> Ord for CapacityError<T>
source§impl<T: PartialEq> PartialEq for CapacityError<T>
impl<T: PartialEq> PartialEq for CapacityError<T>
source§fn eq(&self, other: &CapacityError<T>) -> bool
fn eq(&self, other: &CapacityError<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.