pub enum Streaming<T> {
Item(T),
Incomplete,
}Expand description
A return value from the streaming parser.
Variants§
Item(T)
An item returned from the parser.
Incomplete
More input is needed to make a parsing decision.
Trait Implementations§
impl<T: Copy> Copy for Streaming<T>
impl<T: Eq> Eq for Streaming<T>
impl<T> StructuralPartialEq for Streaming<T>
Auto Trait Implementations§
impl<T> Freeze for Streaming<T>where
T: Freeze,
impl<T> RefUnwindSafe for Streaming<T>where
T: RefUnwindSafe,
impl<T> Send for Streaming<T>where
T: Send,
impl<T> Sync for Streaming<T>where
T: Sync,
impl<T> Unpin for Streaming<T>where
T: Unpin,
impl<T> UnwindSafe for Streaming<T>where
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