pub struct DiagnosticParameterExtractor;Expand description
Extracts parameters from diagnostic information embedded in errors
Implementations§
Source§impl DiagnosticParameterExtractor
impl DiagnosticParameterExtractor
Sourcepub fn new() -> DiagnosticParameterExtractor
pub fn new() -> DiagnosticParameterExtractor
Creates a new DiagnosticParameterExtractor
Trait Implementations§
Source§impl Default for DiagnosticParameterExtractor
impl Default for DiagnosticParameterExtractor
Source§fn default() -> DiagnosticParameterExtractor
fn default() -> DiagnosticParameterExtractor
Returns the “default value” for a type. Read more
Source§impl ParameterExtractor for DiagnosticParameterExtractor
impl ParameterExtractor for DiagnosticParameterExtractor
Source§fn extract_parameters(&self, error: &DecrustError) -> ExtractedParameters
fn extract_parameters(&self, error: &DecrustError) -> ExtractedParameters
Extracts parameters from an error
Source§fn supported_categories(&self) -> &[ErrorCategory]
fn supported_categories(&self) -> &[ErrorCategory]
Returns the error categories this extractor supports
Auto Trait Implementations§
impl Freeze for DiagnosticParameterExtractor
impl RefUnwindSafe for DiagnosticParameterExtractor
impl Send for DiagnosticParameterExtractor
impl Sync for DiagnosticParameterExtractor
impl Unpin for DiagnosticParameterExtractor
impl UnwindSafe for DiagnosticParameterExtractor
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