Enum generic_array::TryFromIterError
source · pub enum TryFromIterError {
TooLong,
TooShort,
}
Expand description
Error possibly returned by GenericArray::try_from_iter
Variants§
TooLong
Recieved too many elements from the iterator
TooShort
Recieved too few elements from the iterator
Trait Implementations§
source§impl Clone for TryFromIterError
impl Clone for TryFromIterError
source§fn clone(&self) -> TryFromIterError
fn clone(&self) -> TryFromIterError
Returns a copy 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 TryFromIterError
impl Debug for TryFromIterError
source§impl PartialEq<TryFromIterError> for TryFromIterError
impl PartialEq<TryFromIterError> for TryFromIterError
source§fn eq(&self, other: &TryFromIterError) -> bool
fn eq(&self, other: &TryFromIterError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TryFromIterError
impl Eq for TryFromIterError
impl StructuralEq for TryFromIterError
impl StructuralPartialEq for TryFromIterError
Auto Trait Implementations§
impl RefUnwindSafe for TryFromIterError
impl Send for TryFromIterError
impl Sync for TryFromIterError
impl Unpin for TryFromIterError
impl UnwindSafe for TryFromIterError
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