Trait QueryDescriptor
pub trait QueryDescriptor {
// Required methods
fn query() -> &'static [Descriptor] ⓘ;
fn score(context: &[u8]) -> u8 ⓘ;
}
Available on crate feature
dep_symphonia
only.Expand description
The QueryDescriptor
trait indicates that the implementer may be registered and capable of
probing.
Required Methods§
fn query() -> &'static [Descriptor] ⓘ
fn query() -> &'static [Descriptor] ⓘ
Returns a list of descriptors.
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.