Trait RecoverableFunction

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

Trait alias for functions that can be executed in a recoverable context.

  • Functions implementing this trait must satisfy FnOnce() + Send + Sync + 'static.

Implementors§

Source§

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