pub trait GenericAuthAction {
// Required methods
fn authorize<'life0, 'async_trait, S>(
&'life0 self,
state: S,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where S: 'async_trait + Into<String> + Send,
Self: 'async_trait,
'life0: 'async_trait;
fn login<'life0, 'async_trait, S>(
&'life0 self,
callback_raw_query: S,
) -> Pin<Box<dyn Future<Output = Result<AuthUser>> + Send + 'async_trait>>
where S: 'async_trait + Into<String> + Send,
Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
fn login<'life0, 'async_trait, S>( &'life0 self, callback_raw_query: S, ) -> Pin<Box<dyn Future<Output = Result<AuthUser>> + Send + 'async_trait>>
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.