[][src]Trait nebula_graph_fbthrift_raftex::server::RaftexService

pub trait RaftexService: Send + Sync + 'static {
#[must_use]    fn askForVote<'life0, 'async_trait>(
        &'life0 self,
        _req: AskForVoteRequest
    ) -> Pin<Box<dyn Future<Output = Result<AskForVoteResponse, AskForVoteExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn appendLog<'life0, 'async_trait>(
        &'life0 self,
        _req: AppendLogRequest
    ) -> Pin<Box<dyn Future<Output = Result<AppendLogResponse, AppendLogExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn sendSnapshot<'life0, 'async_trait>(
        &'life0 self,
        _req: SendSnapshotRequest
    ) -> Pin<Box<dyn Future<Output = Result<SendSnapshotResponse, SendSnapshotExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Provided methods

#[must_use]fn askForVote<'life0, 'async_trait>(
    &'life0 self,
    _req: AskForVoteRequest
) -> Pin<Box<dyn Future<Output = Result<AskForVoteResponse, AskForVoteExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn appendLog<'life0, 'async_trait>(
    &'life0 self,
    _req: AppendLogRequest
) -> Pin<Box<dyn Future<Output = Result<AppendLogResponse, AppendLogExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn sendSnapshot<'life0, 'async_trait>(
    &'life0 self,
    _req: SendSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<SendSnapshotResponse, SendSnapshotExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

Loading content...

Implementors

Loading content...