pub enum LineOp {
Next,
Continue,
Error,
}Expand description
Line operators control input line processing.
Variants§
Next
Get next input line, restart rule matching from first rule (default).
Continue
Keep current line, continue matching from next rule.
Error
Raise an error with optional message.
Trait Implementations§
impl Copy for LineOp
impl Eq for LineOp
impl StructuralPartialEq for LineOp
Auto Trait Implementations§
impl Freeze for LineOp
impl RefUnwindSafe for LineOp
impl Send for LineOp
impl Sync for LineOp
impl Unpin for LineOp
impl UnwindSafe for LineOp
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