pub enum TokenizerResult<Handle> {
Done,
Script(Handle),
EncodingIndicator(Tendril<UTF8>),
}Variants§
Done
Script(Handle)
EncodingIndicator(Tendril<UTF8>)
The document indicated that the given encoding should be used to parse it.
HTML5-compatible implementations should parse the encoding label using the algorithm described in https://encoding.spec.whatwg.org/#concept-encoding-get. The label has not been validated by html5ever. Invalid or unknown encodings can be ignored.
If you are confident that the current encoding is correct then you can safely ignore this message.
Trait Implementations§
Source§impl<Handle> Debug for TokenizerResult<Handle>where
Handle: Debug,
impl<Handle> Debug for TokenizerResult<Handle>where
Handle: Debug,
Source§impl<Handle> PartialEq for TokenizerResult<Handle>where
Handle: PartialEq,
impl<Handle> PartialEq for TokenizerResult<Handle>where
Handle: PartialEq,
impl<Handle> StructuralPartialEq for TokenizerResult<Handle>
Auto Trait Implementations§
impl<Handle> !Freeze for TokenizerResult<Handle>
impl<Handle> !RefUnwindSafe for TokenizerResult<Handle>
impl<Handle> !Send for TokenizerResult<Handle>
impl<Handle> !Sync for TokenizerResult<Handle>
impl<Handle> Unpin for TokenizerResult<Handle>where
Handle: Unpin,
impl<Handle> UnwindSafe for TokenizerResult<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