Trait UserAuthClient

Source
pub trait UserAuthClient: HttpClient { }
Expand description

Marker trait to indicate that a HTTP client supports User authentication. User authentication works by adding a Authorization: Bearer <TOKEN> header.

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§

Source§

impl UserAuthClient for UserAuthDefaultClient

Available on crate feature default_async_client only.
Source§

impl<T: UserAuthClient + Sync> UserAuthClient for T