Struct arrayvec::CapacityError
[−]
[src]
pub struct CapacityError<T = ()> { // some fields omitted }
Error value indicating insufficient capacity
Methods
impl<T> CapacityError<T>
fn element(self) -> T
Extract the overflowing element
fn simplify(self) -> CapacityError
Convert into a CapacityError
that does not carry an element.
Trait Implementations
impl<T: Any> Error for CapacityError<T>
Requires features="std"
.