pub trait PullCallback: Sync + Send {
// Required methods
fn on_success(
&mut self,
pull_result: PullResultExt,
) -> impl Future<Output = ()> + Send;
fn on_exception(&mut self, e: ClientError);
}Required Methods§
fn on_success( &mut self, pull_result: PullResultExt, ) -> impl Future<Output = ()> + Send
fn on_exception(&mut self, e: ClientError)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".