pub struct AnonymousAuthenticator;
Expand description
Creates a new Authenticator
fn login<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_client: &'life1 Client,
_user_agent: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<bool, APIError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Returns true because it is anonymous
fn logout<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_client: &'life1 Client,
_user_agent: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<(), APIError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
False because not logged in
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the current Span
, returning an
Instrumented
wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.