Skip to main content

PeripheralToolsFn

Type Alias PeripheralToolsFn 

pub type PeripheralToolsFn = Box<dyn Fn(PeripheralsConfig) -> Pin<Box<dyn Future<Output = Result<Vec<Box<dyn Tool>>, Error>> + Send>> + Send + Sync>;
Expand description

Peripheral tools factory type — takes owned config so the returned future is ’static.

Aliased Type§

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