Trait Authorizer

Source
pub trait Authorizer: AuthorizerSeal {
    type ResBody: Default + Send + 'static;
}
Expand description

Trait for authorizing requests.

Required Associated Types§

Source

type ResBody: Default + Send + 'static

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<T: Authorizer> Authorizer for Arc<T>

Source§

impl<T: Authorizer> Authorizer for Vec<T>

Source§

impl<T: Authorizer, const N: usize> Authorizer for [T; N]

Implementors§

Source§

impl<ResBody: Default + Send + 'static> Authorizer for Basic<ResBody>

Source§

type ResBody = ResBody

Source§

impl<ResBody: Default + Send + 'static> Authorizer for Bearer<ResBody>

Source§

type ResBody = ResBody