Skip to main content

PullCallback

Trait PullCallback 

Source
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§

Source

fn on_success( &mut self, pull_result: PullResultExt, ) -> impl Future<Output = ()> + Send

Source

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".

Implementors§