pub trait UZeroCopyListener<Rx>: Send + Syncwhere
Rx: UZeroCopyRxLease + Send + 'static,{
// Required method
fn on_receive_zero_copy<'life0, 'async_trait>(
&'life0 self,
frame: Rx,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Role: implemented by applications to receive zero-copy leases — see the trait map.
A handler for processing zero-copy receive leases.