Skip to main content

MetadataSource

Trait MetadataSource 

Source
pub trait MetadataSource: Send + Sync {
    // Required method
    fn get(&self, label: &str) -> Option<&str>;
}
Expand description

A shared source whose values remain valid for a Query.

Required Methods§

Source

fn get(&self, label: &str) -> Option<&str>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§