SubsystemFn

Type Alias SubsystemFn 

Source
pub type SubsystemFn = Box<dyn Fn(ShutdownHandle) -> Pin<Box<dyn Future<Output = Result<()>> + Send>> + Send + Sync>;
Expand description

Subsystem function signature.

Aliased Typeยง

pub struct SubsystemFn(/* private fields */);