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

Provided Methods§

Implementations on Foreign Types§

Implementors§