Skip to main content

ToEndpoint

Trait ToEndpoint 

Source
pub trait ToEndpoint {
    // Required method
    fn to_endpoint(&self) -> Result<Endpoint>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ToEndpoint for &str

Source§

impl ToEndpoint for String

Implementors§