Skip to main content

AuthApi

Trait AuthApi 

Source
pub trait AuthApi: Send + Sync {
    // Required methods
    fn session_logon<'life0, 'async_trait>(
        &'life0 self,
        params: SessionLogonParams,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<WebsocketApiResponse<Box<SessionLogonResponseResult>>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn session_logout<'life0, 'async_trait>(
        &'life0 self,
        params: SessionLogoutParams,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<WebsocketApiResponse<Box<SessionLogoutResponseResult>>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn session_status<'life0, 'async_trait>(
        &'life0 self,
        params: SessionStatusParams,
    ) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<SessionStatusResponseResult>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn session_logon<'life0, 'async_trait>( &'life0 self, params: SessionLogonParams, ) -> Pin<Box<dyn Future<Output = Result<Vec<WebsocketApiResponse<Box<SessionLogonResponseResult>>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn session_logout<'life0, 'async_trait>( &'life0 self, params: SessionLogoutParams, ) -> Pin<Box<dyn Future<Output = Result<Vec<WebsocketApiResponse<Box<SessionLogoutResponseResult>>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn session_status<'life0, 'async_trait>( &'life0 self, params: SessionStatusParams, ) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<SessionStatusResponseResult>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§