pub enum DiagnosticSource {
LocalInput,
Network,
Parser,
Readability,
GenericTransformer,
Adapter,
Headless,
Extraction,
Renderer,
Shelf,
}Expand description
Boundary that produced or observed a diagnostic.
Variants§
LocalInput
Local file or stdin input.
Network
Network fetch boundary.
Parser
HTML parser boundary.
Readability
Readability extraction boundary.
GenericTransformer
Generic transformer fallback.
Adapter
Site adapter boundary.
Headless
Headless fallback boundary.
Extraction
Extraction and serialization boundary.
Renderer
Renderer or terminal layout boundary.
Shelf
Local knowledge shelf boundary.
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticSource
impl Clone for DiagnosticSource
Source§fn clone(&self) -> DiagnosticSource
fn clone(&self) -> DiagnosticSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiagnosticSource
impl Debug for DiagnosticSource
Source§impl Display for DiagnosticSource
impl Display for DiagnosticSource
Source§impl PartialEq for DiagnosticSource
impl PartialEq for DiagnosticSource
Source§fn eq(&self, other: &DiagnosticSource) -> bool
fn eq(&self, other: &DiagnosticSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DiagnosticSource
impl Eq for DiagnosticSource
impl StructuralPartialEq for DiagnosticSource
Auto Trait Implementations§
impl Freeze for DiagnosticSource
impl RefUnwindSafe for DiagnosticSource
impl Send for DiagnosticSource
impl Sync for DiagnosticSource
impl Unpin for DiagnosticSource
impl UnsafeUnpin for DiagnosticSource
impl UnwindSafe for DiagnosticSource
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