pub trait FormulaSubscriber:
Display
+ Sync
+ Send {
type QuantityType: Quantity;
// Required method
fn subscribe<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Receiver<Sample<Self::QuantityType>>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}