Skip to main content

BlockProviderExt

Trait BlockProviderExt 

Source
pub trait BlockProviderExt: Sized {
    // Required methods
    fn boxed(self) -> BoxBlockProvider;
    fn chain<T: BlockProvider>(self, other: T) -> ChainBlockProvider<Self, T>;
    fn cycle<T: BlockProvider>(self, other: T) -> CycleBlockProvider<Self, T>;
    fn retry(self, config: RetryConfig) -> RetryBlockProvider<Self>;
}

Required Methods§

Source

fn boxed(self) -> BoxBlockProvider

Source

fn chain<T: BlockProvider>(self, other: T) -> ChainBlockProvider<Self, T>

Source

fn cycle<T: BlockProvider>(self, other: T) -> CycleBlockProvider<Self, T>

Source

fn retry(self, config: RetryConfig) -> RetryBlockProvider<Self>

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§