GraphService

Trait GraphService 

Source
pub trait GraphService:
    Send
    + Sync
    + 'static {
    // Provided methods
    fn authenticate<'life0, 'async_trait>(
        &'life0 self,
        _username: Vec<u8>,
        _password: Vec<u8>,
    ) -> Pin<Box<dyn Future<Output = Result<AuthResponse, AuthenticateExn>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
    fn signout<'life0, 'async_trait>(
        &'life0 self,
        _sessionId: i64,
    ) -> Pin<Box<dyn Future<Output = Result<(), SignoutExn>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
    fn execute<'life0, 'async_trait>(
        &'life0 self,
        _sessionId: i64,
        _stmt: Vec<u8>,
    ) -> Pin<Box<dyn Future<Output = Result<ExecutionResponse, ExecuteExn>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
    fn executeJson<'life0, 'async_trait>(
        &'life0 self,
        _sessionId: i64,
        _stmt: Vec<u8>,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ExecuteJsonExn>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
}

Provided Methods§

Source

fn authenticate<'life0, 'async_trait>( &'life0 self, _username: Vec<u8>, _password: Vec<u8>, ) -> Pin<Box<dyn Future<Output = Result<AuthResponse, AuthenticateExn>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn signout<'life0, 'async_trait>( &'life0 self, _sessionId: i64, ) -> Pin<Box<dyn Future<Output = Result<(), SignoutExn>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn execute<'life0, 'async_trait>( &'life0 self, _sessionId: i64, _stmt: Vec<u8>, ) -> Pin<Box<dyn Future<Output = Result<ExecutionResponse, ExecuteExn>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn executeJson<'life0, 'async_trait>( &'life0 self, _sessionId: i64, _stmt: Vec<u8>, ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ExecuteJsonExn>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§