SigFn

Trait 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§

Source§

impl<F, I, O> SigFn<I, O> for F
where F: Fn(I) -> Result<O, Error>,