vector::http

Trait MaybeAuth

Source
pub trait MaybeAuth: Sized {
    // Required method
    fn choose_one(&self, other: &Self) -> Result<Self>;
}

Required Methods§

Source

fn choose_one(&self, other: &Self) -> Result<Self>

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.

Implementations on Foreign Types§

Source§

impl MaybeAuth for Option<Auth>

Source§

fn choose_one(&self, other: &Self) -> Result<Self>

Implementors§