pub trait LabelLoader: Send + Sync {
// Required methods
fn supports(&self, key: &str) -> bool;
fn load(&self, key: &str, ids: Vec<String>) -> ExtensionFuture<Vec<Label>>;
}Required Methods§
fn supports(&self, key: &str) -> bool
fn load(&self, key: &str, ids: Vec<String>) -> ExtensionFuture<Vec<Label>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".