pub enum HtmlEventSource {
Simple(SimpleHtmlEventSource),
}Variants§
Simple(SimpleHtmlEventSource)
Implementations§
Source§impl HtmlEventSource
impl HtmlEventSource
pub fn from_bytes( name: impl Into<String>, format: InputFormat, bytes: Vec<u8>, ) -> Result<Self, ValidatorError>
pub fn from_str( name: impl Into<String>, format: InputFormat, s: &str, ) -> Result<Self, ValidatorError>
Trait Implementations§
Source§impl Clone for HtmlEventSource
impl Clone for HtmlEventSource
Source§fn clone(&self) -> HtmlEventSource
fn clone(&self) -> HtmlEventSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl EventSource for HtmlEventSource
impl EventSource for HtmlEventSource
fn source_name(&self) -> &str
fn format(&self) -> InputFormat
fn next_event(&mut self) -> Result<Option<ParseEvent>, ValidatorError>
Auto Trait Implementations§
impl Freeze for HtmlEventSource
impl RefUnwindSafe for HtmlEventSource
impl Send for HtmlEventSource
impl Sync for HtmlEventSource
impl Unpin for HtmlEventSource
impl UnsafeUnpin for HtmlEventSource
impl UnwindSafe for HtmlEventSource
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