Trait ErrorHandlerFunction

Source
pub trait ErrorHandlerFunction:
    FnOnce(&str)
    + Send
    + Sync
    + 'static { }
Expand description

Trait alias for error-handling functions used in a recoverable context.

§Arguments

  • &str - The error message to handle.

Implementors§

Source§

impl<T> ErrorHandlerFunction for T
where T: FnOnce(&str) + Send + Sync + 'static,