pub struct ReportDartErrorHandler;Expand description
The default error handler used by generated code.
Trait Implementations§
source§impl Clone for ReportDartErrorHandler
impl Clone for ReportDartErrorHandler
source§fn clone(&self) -> ReportDartErrorHandler
fn clone(&self) -> ReportDartErrorHandler
Returns a copy 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 ErrorHandler for ReportDartErrorHandler
impl ErrorHandler for ReportDartErrorHandler
source§fn handle_error(&self, port: MessagePort, error: Error)
fn handle_error(&self, port: MessagePort, error: Error)
The default error handler.
source§fn handle_error_sync(&self, error: Error) -> WireSyncReturn
fn handle_error_sync(&self, error: Error) -> WireSyncReturn
Special handler only used for synchronous code.
impl Copy for ReportDartErrorHandler
Auto Trait Implementations§
impl RefUnwindSafe for ReportDartErrorHandler
impl Send for ReportDartErrorHandler
impl Sync for ReportDartErrorHandler
impl Unpin for ReportDartErrorHandler
impl UnwindSafe for ReportDartErrorHandler
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