pub trait Query {
// Required method
fn uri(&self) -> Uri;
// Provided method
fn method(&self) -> Method { ... }
}Expand description
TODO the name is misleading/obsolete, should be something with params
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".