Enum from_iter::FromIteratorExactError
source · [−]pub enum FromIteratorExactError<T> {
NotEnoughElement,
TooManyElements(T),
}
Expand description
This represents the error when there aren’t enough items available to fill the entire array, or there are more elements than expected.
Variants
NotEnoughElement
TooManyElements(T)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for FromIteratorExactError<T> where
T: RefUnwindSafe,
impl<T> Send for FromIteratorExactError<T> where
T: Send,
impl<T> Sync for FromIteratorExactError<T> where
T: Sync,
impl<T> Unpin for FromIteratorExactError<T> where
T: Unpin,
impl<T> UnwindSafe for FromIteratorExactError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more