pub enum ElementStatus<E, T> {
Ready(Part<E, T>),
NeedInput,
End,
}Expand description
The state of an ElementReader, see ElementReader::poll.
Variants§
Ready(Part<E, T>)
An element or the value is ready.
NeedInput
More input is needed.
End
There are no more values.
Trait Implementations§
impl<E: Eq, T: Eq> Eq for ElementStatus<E, T>
impl<E: PartialEq, T: PartialEq> StructuralPartialEq for ElementStatus<E, T>
Auto Trait Implementations§
impl<E, T> Freeze for ElementStatus<E, T>
impl<E, T> RefUnwindSafe for ElementStatus<E, T>where
Part<E, T>: RefUnwindSafe,
impl<E, T> Send for ElementStatus<E, T>
impl<E, T> Sync for ElementStatus<E, T>
impl<E, T> Unpin for ElementStatus<E, T>
impl<E, T> UnsafeUnpin for ElementStatus<E, T>where
Part<E, T>: UnsafeUnpin,
impl<E, T> UnwindSafe for ElementStatus<E, T>where
Part<E, T>: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.