Skip to main content

Endpoint

Trait Endpoint 

Source
pub trait Endpoint {
    // Required methods
    fn credentials(&self) -> String;
    fn as_url(&self) -> String;
}

Required Methods§

Source

fn credentials(&self) -> String

Source

fn as_url(&self) -> String

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§