Enum peekmore::PeekMoreError
source · pub enum PeekMoreError {
ElementHasBeenConsumed,
}
Expand description
This enumeration provides errors which represent lack of success of the PeekMoreIterator
.
Variants§
ElementHasBeenConsumed
This error case will be returned if we try to move to an element, but it has already been consumed by the iterator. We can only peek at elements which haven’t been consumed.
Trait Implementations§
source§impl Debug for PeekMoreError
impl Debug for PeekMoreError
source§impl PartialEq<PeekMoreError> for PeekMoreError
impl PartialEq<PeekMoreError> for PeekMoreError
source§fn eq(&self, other: &PeekMoreError) -> bool
fn eq(&self, other: &PeekMoreError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PeekMoreError
impl StructuralEq for PeekMoreError
impl StructuralPartialEq for PeekMoreError
Auto Trait Implementations§
impl RefUnwindSafe for PeekMoreError
impl Send for PeekMoreError
impl Sync for PeekMoreError
impl Unpin for PeekMoreError
impl UnwindSafe for PeekMoreError
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