pub enum ProcessResult<Handle> {
Done,
Continue,
Script(Handle),
}
Expand description
The result of a single tokenization operation
Variants§
Done
The tokenizer needs more input before it can continue
Continue
The tokenizer can be invoked again immediately
Script(Handle)
The tokenizer encountered a script element that must be executed before tokenization can continue
Auto Trait Implementations§
impl<Handle> Freeze for ProcessResult<Handle>where
Handle: Freeze,
impl<Handle> RefUnwindSafe for ProcessResult<Handle>where
Handle: RefUnwindSafe,
impl<Handle> Send for ProcessResult<Handle>where
Handle: Send,
impl<Handle> Sync for ProcessResult<Handle>where
Handle: Sync,
impl<Handle> Unpin for ProcessResult<Handle>where
Handle: Unpin,
impl<Handle> UnwindSafe for ProcessResult<Handle>where
Handle: 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