Struct arrayvec::CapacityError [−][src]
pub struct CapacityError<T = ()> { /* fields omitted */ }
Expand description
Error value indicating insufficient capacity
Implementations
Create a new CapacityError
from element
.
Convert into a CapacityError
that does not carry an element.
Trait Implementations
Requires features="std"
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for CapacityError<T> where
T: RefUnwindSafe,
impl<T> Send for CapacityError<T> where
T: Send,
impl<T> Sync for CapacityError<T> where
T: Sync,
impl<T> Unpin for CapacityError<T> where
T: Unpin,
impl<T> UnwindSafe for CapacityError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more