Trait UncapturedErrorHandler

Source
pub trait UncapturedErrorHandler:
    Fn(Error)
    + Send
    + Sync
    + 'static { }
Expand description

The callback of Device::on_uncaptured_error().

It must be a function with this signature.

Implementors§

Source§

impl<T> UncapturedErrorHandler for T
where T: Fn(Error) + Send + Sync + 'static,