pub trait QueryDescriptor {
// Required methods
fn query() -> &'static [Descriptor];
fn score(context: &[u8]) -> u8;
}
Expand description
The QueryDescriptor
trait indicates that the implementer may be registered and capable of
probing.
Required Methods§
Sourcefn 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.