Trait DataloaderInterface

Source
pub trait DataloaderInterface {
    // Required method
    fn stream_loader(
        &self,
    ) -> &DataLoader<impl DataLoaderFetcher<Key = StreamId, Value = Stream> + Send + Sync + 'static>;
}

Required Methods§

Source

fn stream_loader( &self, ) -> &DataLoader<impl DataLoaderFetcher<Key = StreamId, Value = Stream> + Send + Sync + 'static>

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§