pub trait LoaderSource: Sealed {
type Dataset;
// Required method
fn dataset(&self) -> &Self::Dataset;
}Expand description
The dataset of a DataLoader, as the loader holds it: a
SyncSource from DataLoader::builder,
or an AsyncSource from DataLoader::builder_async (feature async). Sealed: these two
are the only sources.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".