pub enum ParseStatus {
NeedMore,
Found(NodeId),
Done(Document),
}Expand description
Status returned by EarlyStopParser::feed.
Variants§
NeedMore
More data is needed to satisfy the predicate.
Found(NodeId)
A node matching the predicate was found.
Done(Document)
Parsing finished without finding a match.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseStatus
impl RefUnwindSafe for ParseStatus
impl Send for ParseStatus
impl Sync for ParseStatus
impl Unpin for ParseStatus
impl UnsafeUnpin for ParseStatus
impl UnwindSafe for ParseStatus
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