pub struct ErrToken(/* private fields */);Expand description
ZST used to ensure that Parser implementations push errors to
ParseState.
Parser implementation must acquire an ErrToken to return
ParserResult::Err, which can only be done by calling
ParseState::error or by propagating an ErrToken returned by
a child parser.
Trait Implementations§
impl Eq for ErrToken
impl StructuralPartialEq for ErrToken
Auto Trait Implementations§
impl Freeze for ErrToken
impl RefUnwindSafe for ErrToken
impl Send for ErrToken
impl Sync for ErrToken
impl Unpin for ErrToken
impl UnwindSafe for ErrToken
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