Trait signals::SigFn

source ·
pub trait SigFn<I, O>: Fn(I) -> Result<O, Error> { }
Expand description

When creating a Signal, This trait represents the closure Fn allowed.

Implementors§