Trait sep2_client::client::PollCallback
source · pub trait PollCallback<T: SEResource>: Clone + Send + Sync + 'static {
// Required method
fn callback<'life0, 'async_trait>(
&'life0 self,
resource: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
A trait implemented by types that can be used as a poll callback by Client::start_poll
.