pub trait ClientAccounting {
// Required method
fn report<'a, 'life0, 'async_trait, T>(
&'life0 self,
event: T,
) -> Pin<Box<dyn Future<Output = EResult<()>> + Send + 'async_trait>>
where T: TryInto<Cow<'a>> + Send + 'async_trait,
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}Required Methods§
fn report<'a, 'life0, 'async_trait, T>( &'life0 self, event: T, ) -> Pin<Box<dyn Future<Output = EResult<()>> + Send + 'async_trait>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.