Trait FunctionTrait

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

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

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

Implementors§

Source§

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