pub trait ToEndpoint {
// Required method
fn to_endpoint(&self) -> Result<Endpoint>;
}Required Methods§
fn to_endpoint(&self) -> Result<Endpoint>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".