Trait FunctionOnceTrait

Source
pub trait FunctionOnceTrait:
    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> FunctionOnceTrait for T
where T: FnOnce() + Send + Sync + 'static,