pub trait Reporter {
type Error;
// Required method
fn report<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 Data,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
An abstract way to report the Data
.
Implement this to send the IP address updates to a new detination.