Struct ConsoleErrorReporter
pub struct ConsoleErrorReporter;Expand description
Simple console error reporter
Trait Implementations§
§impl Debug for ConsoleErrorReporter
impl Debug for ConsoleErrorReporter
§impl Default for ConsoleErrorReporter
impl Default for ConsoleErrorReporter
§fn default() -> ConsoleErrorReporter
fn default() -> ConsoleErrorReporter
Returns the “default value” for a type. Read more
§impl ErrorReporter for ConsoleErrorReporter
impl ErrorReporter for ConsoleErrorReporter
§fn report_error(&self, error: &ContextualError)
fn report_error(&self, error: &ContextualError)
Report an error
§fn report_error_with_handler<F>(&self, error: &ContextualError, handler: F)where
F: FnOnce(&ContextualError),
fn report_error_with_handler<F>(&self, error: &ContextualError, handler: F)where
F: FnOnce(&ContextualError),
Report an error with custom handling
Auto Trait Implementations§
impl Freeze for ConsoleErrorReporter
impl RefUnwindSafe for ConsoleErrorReporter
impl Send for ConsoleErrorReporter
impl Sync for ConsoleErrorReporter
impl Unpin for ConsoleErrorReporter
impl UnwindSafe for ConsoleErrorReporter
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