[][src]Trait nebula_graph_fbthrift_storage_v2::server::StorageAdminService

pub trait StorageAdminService: Send + Sync + 'static {
#[must_use]    fn transLeader<'life0, 'async_trait>(
        &'life0 self,
        _req: TransLeaderReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn addPart<'life0, 'async_trait>(
        &'life0 self,
        _req: AddPartReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn addLearner<'life0, 'async_trait>(
        &'life0 self,
        _req: AddLearnerReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn removePart<'life0, 'async_trait>(
        &'life0 self,
        _req: RemovePartReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn memberChange<'life0, 'async_trait>(
        &'life0 self,
        _req: MemberChangeReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn waitingForCatchUpData<'life0, 'async_trait>(
        &'life0 self,
        _req: CatchUpDataReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn createCheckpoint<'life0, 'async_trait>(
        &'life0 self,
        _req: CreateCPRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn dropCheckpoint<'life0, 'async_trait>(
        &'life0 self,
        _req: DropCPRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn blockingWrites<'life0, 'async_trait>(
        &'life0 self,
        _req: BlockingSignRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn rebuildTagIndex<'life0, 'async_trait>(
        &'life0 self,
        _req: RebuildIndexRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn rebuildEdgeIndex<'life0, 'async_trait>(
        &'life0 self,
        _req: RebuildIndexRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn getLeaderParts<'life0, 'async_trait>(
        &'life0 self,
        _req: GetLeaderReq
    ) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn checkPeers<'life0, 'async_trait>(
        &'life0 self,
        _req: CheckPeersReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn addAdminTask<'life0, 'async_trait>(
        &'life0 self,
        _req: AddAdminTaskRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn stopAdminTask<'life0, 'async_trait>(
        &'life0 self,
        _req: StopAdminTaskRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Provided methods

#[must_use]fn transLeader<'life0, 'async_trait>(
    &'life0 self,
    _req: TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn addPart<'life0, 'async_trait>(
    &'life0 self,
    _req: AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn addLearner<'life0, 'async_trait>(
    &'life0 self,
    _req: AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn removePart<'life0, 'async_trait>(
    &'life0 self,
    _req: RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn memberChange<'life0, 'async_trait>(
    &'life0 self,
    _req: MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn waitingForCatchUpData<'life0, 'async_trait>(
    &'life0 self,
    _req: CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn createCheckpoint<'life0, 'async_trait>(
    &'life0 self,
    _req: CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn dropCheckpoint<'life0, 'async_trait>(
    &'life0 self,
    _req: DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn blockingWrites<'life0, 'async_trait>(
    &'life0 self,
    _req: BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn rebuildTagIndex<'life0, 'async_trait>(
    &'life0 self,
    _req: RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn rebuildEdgeIndex<'life0, 'async_trait>(
    &'life0 self,
    _req: RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn getLeaderParts<'life0, 'async_trait>(
    &'life0 self,
    _req: GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn checkPeers<'life0, 'async_trait>(
    &'life0 self,
    _req: CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn addAdminTask<'life0, 'async_trait>(
    &'life0 self,
    _req: AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn stopAdminTask<'life0, 'async_trait>(
    &'life0 self,
    _req: StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

Loading content...

Implementors

Loading content...