Endpoint

Trait Endpoint 

Source
pub trait Endpoint: Sized + Clone {
    // Required method
    fn endpoint(&self) -> String;
}

Required Methods§

Source

fn endpoint(&self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§