Skip to main content

Query

Trait Query 

Source
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§

Source

fn uri(&self) -> Uri

Provided Methods§

Source

fn method(&self) -> Method

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§