Skip to main content

Puller

Trait Puller 

Source
pub trait Puller:
    Send
    + Sync
    + Clone
    + 'static {
    type Error: Send + Unpin + 'static;

    // Required method
    fn pull(
        &mut self,
        range: Option<&Range<u64>>,
    ) -> impl Future<Output = Result<impl PullStream<Self::Error>, (Self::Error, Option<Duration>)>> + Send;
}

Required Associated Types§

Source

type Error: Send + Unpin + 'static

Required Methods§

Source

fn pull( &mut self, range: Option<&Range<u64>>, ) -> impl Future<Output = Result<impl PullStream<Self::Error>, (Self::Error, Option<Duration>)>> + Send

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.

Implementors§