pub trait Dst {
// Required methods
fn scheme(&self) -> Option<&str>;
fn host(&self) -> Option<&str>;
fn port(&self) -> Option<u16>;
}Expand description
A trait for matching between Destination and Uri
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".