[−][src]Trait nebula_graph_fbthrift_storage_v2::client::StorageAdminService
Required methods
fn transLeader(
&self,
arg_req: &TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderError>> + Send + 'static>>
&self,
arg_req: &TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderError>> + Send + 'static>>
fn addPart(
&self,
arg_req: &AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartError>> + Send + 'static>>
&self,
arg_req: &AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartError>> + Send + 'static>>
fn addLearner(
&self,
arg_req: &AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerError>> + Send + 'static>>
&self,
arg_req: &AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerError>> + Send + 'static>>
fn removePart(
&self,
arg_req: &RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartError>> + Send + 'static>>
&self,
arg_req: &RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartError>> + Send + 'static>>
fn memberChange(
&self,
arg_req: &MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeError>> + Send + 'static>>
&self,
arg_req: &MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeError>> + Send + 'static>>
fn waitingForCatchUpData(
&self,
arg_req: &CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataError>> + Send + 'static>>
&self,
arg_req: &CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataError>> + Send + 'static>>
fn createCheckpoint(
&self,
arg_req: &CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointError>> + Send + 'static>>
&self,
arg_req: &CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointError>> + Send + 'static>>
fn dropCheckpoint(
&self,
arg_req: &DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointError>> + Send + 'static>>
&self,
arg_req: &DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointError>> + Send + 'static>>
fn blockingWrites(
&self,
arg_req: &BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesError>> + Send + 'static>>
&self,
arg_req: &BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesError>> + Send + 'static>>
fn rebuildTagIndex(
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexError>> + Send + 'static>>
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexError>> + Send + 'static>>
fn rebuildEdgeIndex(
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexError>> + Send + 'static>>
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexError>> + Send + 'static>>
fn getLeaderParts(
&self,
arg_req: &GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsError>> + Send + 'static>>
&self,
arg_req: &GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsError>> + Send + 'static>>
fn checkPeers(
&self,
arg_req: &CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersError>> + Send + 'static>>
&self,
arg_req: &CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersError>> + Send + 'static>>
fn addAdminTask(
&self,
arg_req: &AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskError>> + Send + 'static>>
&self,
arg_req: &AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskError>> + Send + 'static>>
fn stopAdminTask(
&self,
arg_req: &StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskError>> + Send + 'static>>
&self,
arg_req: &StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskError>> + Send + 'static>>
Implementations
impl dyn StorageAdminService
[src]
To be called by user directly setting up a client. Avoids needing ClientFactory trait in scope, avoids unidiomatic make_Trait name.
use bgs::client::BuckGraphService; let protocol = BinaryProtocol::new(); let transport = HttpClient::new(); let client = BuckGraphService::new(protocol, transport);
pub fn new<P, T>(
protocol: P,
transport: T
) -> Arc<impl StorageAdminService + Send + 'static> where
P: Protocol<Frame = T>,
T: Transport,
[src]
protocol: P,
transport: T
) -> Arc<impl StorageAdminService + Send + 'static> where
P: Protocol<Frame = T>,
T: Transport,
impl dyn StorageAdminService
[src]
pub fn mock<'mock>() -> StorageAdminService<'mock>
[src]
Implementors
impl<'a, T> StorageAdminService for T where
T: AsRef<dyn StorageAdminService + 'a>,
T: Send,
[src]
T: AsRef<dyn StorageAdminService + 'a>,
T: Send,
fn transLeader(
&self,
arg_req: &TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderError>> + Send + 'static>>
[src]
&self,
arg_req: &TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderError>> + Send + 'static>>
fn addPart(
&self,
arg_req: &AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartError>> + Send + 'static>>
[src]
&self,
arg_req: &AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartError>> + Send + 'static>>
fn addLearner(
&self,
arg_req: &AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerError>> + Send + 'static>>
[src]
&self,
arg_req: &AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerError>> + Send + 'static>>
fn removePart(
&self,
arg_req: &RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartError>> + Send + 'static>>
[src]
&self,
arg_req: &RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartError>> + Send + 'static>>
fn memberChange(
&self,
arg_req: &MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeError>> + Send + 'static>>
[src]
&self,
arg_req: &MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeError>> + Send + 'static>>
fn waitingForCatchUpData(
&self,
arg_req: &CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataError>> + Send + 'static>>
[src]
&self,
arg_req: &CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataError>> + Send + 'static>>
fn createCheckpoint(
&self,
arg_req: &CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointError>> + Send + 'static>>
[src]
&self,
arg_req: &CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointError>> + Send + 'static>>
fn dropCheckpoint(
&self,
arg_req: &DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointError>> + Send + 'static>>
[src]
&self,
arg_req: &DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointError>> + Send + 'static>>
fn blockingWrites(
&self,
arg_req: &BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesError>> + Send + 'static>>
[src]
&self,
arg_req: &BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesError>> + Send + 'static>>
fn rebuildTagIndex(
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexError>> + Send + 'static>>
fn rebuildEdgeIndex(
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexError>> + Send + 'static>>
fn getLeaderParts(
&self,
arg_req: &GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsError>> + Send + 'static>>
fn checkPeers(
&self,
arg_req: &CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersError>> + Send + 'static>>
[src]
&self,
arg_req: &CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersError>> + Send + 'static>>
fn addAdminTask(
&self,
arg_req: &AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskError>> + Send + 'static>>
[src]
&self,
arg_req: &AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskError>> + Send + 'static>>
fn stopAdminTask(
&self,
arg_req: &StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskError>> + Send + 'static>>
[src]
&self,
arg_req: &StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskError>> + Send + 'static>>
impl<'mock> StorageAdminService for StorageAdminService<'mock>
[src]
fn transLeader(
&self,
arg_req: &TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderError>> + Send + 'static>>
[src]
&self,
arg_req: &TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderError>> + Send + 'static>>
fn addPart(
&self,
arg_req: &AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartError>> + Send + 'static>>
[src]
&self,
arg_req: &AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartError>> + Send + 'static>>
fn addLearner(
&self,
arg_req: &AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerError>> + Send + 'static>>
[src]
&self,
arg_req: &AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerError>> + Send + 'static>>
fn removePart(
&self,
arg_req: &RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartError>> + Send + 'static>>
[src]
&self,
arg_req: &RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartError>> + Send + 'static>>
fn memberChange(
&self,
arg_req: &MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeError>> + Send + 'static>>
[src]
&self,
arg_req: &MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeError>> + Send + 'static>>
fn waitingForCatchUpData(
&self,
arg_req: &CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataError>> + Send + 'static>>
[src]
&self,
arg_req: &CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataError>> + Send + 'static>>
fn createCheckpoint(
&self,
arg_req: &CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointError>> + Send + 'static>>
[src]
&self,
arg_req: &CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointError>> + Send + 'static>>
fn dropCheckpoint(
&self,
arg_req: &DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointError>> + Send + 'static>>
[src]
&self,
arg_req: &DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointError>> + Send + 'static>>
fn blockingWrites(
&self,
arg_req: &BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesError>> + Send + 'static>>
[src]
&self,
arg_req: &BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesError>> + Send + 'static>>
fn rebuildTagIndex(
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexError>> + Send + 'static>>
fn rebuildEdgeIndex(
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexError>> + Send + 'static>>
fn getLeaderParts(
&self,
arg_req: &GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsError>> + Send + 'static>>
fn checkPeers(
&self,
arg_req: &CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersError>> + Send + 'static>>
[src]
&self,
arg_req: &CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersError>> + Send + 'static>>
fn addAdminTask(
&self,
arg_req: &AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskError>> + Send + 'static>>
[src]
&self,
arg_req: &AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskError>> + Send + 'static>>
fn stopAdminTask(
&self,
arg_req: &StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskError>> + Send + 'static>>
[src]
&self,
arg_req: &StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskError>> + Send + 'static>>
impl<P, T> StorageAdminService for StorageAdminServiceImpl<P, T> where
P: Protocol,
T: Transport,
P::Frame: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<P>: BufMutExt<Final = FramingEncodedFinal<T>>,
[src]
P: Protocol,
T: Transport,
P::Frame: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<P>: BufMutExt<Final = FramingEncodedFinal<T>>,
fn transLeader(
&self,
arg_req: &TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderError>> + Send + 'static>>
[src]
&self,
arg_req: &TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderError>> + Send + 'static>>
fn addPart(
&self,
arg_req: &AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartError>> + Send + 'static>>
[src]
&self,
arg_req: &AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartError>> + Send + 'static>>
fn addLearner(
&self,
arg_req: &AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerError>> + Send + 'static>>
[src]
&self,
arg_req: &AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerError>> + Send + 'static>>
fn removePart(
&self,
arg_req: &RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartError>> + Send + 'static>>
[src]
&self,
arg_req: &RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartError>> + Send + 'static>>
fn memberChange(
&self,
arg_req: &MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeError>> + Send + 'static>>
[src]
&self,
arg_req: &MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeError>> + Send + 'static>>
fn waitingForCatchUpData(
&self,
arg_req: &CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataError>> + Send + 'static>>
[src]
&self,
arg_req: &CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataError>> + Send + 'static>>
fn createCheckpoint(
&self,
arg_req: &CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointError>> + Send + 'static>>
[src]
&self,
arg_req: &CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointError>> + Send + 'static>>
fn dropCheckpoint(
&self,
arg_req: &DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointError>> + Send + 'static>>
[src]
&self,
arg_req: &DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointError>> + Send + 'static>>
fn blockingWrites(
&self,
arg_req: &BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesError>> + Send + 'static>>
[src]
&self,
arg_req: &BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesError>> + Send + 'static>>
fn rebuildTagIndex(
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexError>> + Send + 'static>>
fn rebuildEdgeIndex(
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexError>> + Send + 'static>>
fn getLeaderParts(
&self,
arg_req: &GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderPartsResp, GetLeaderPartsError>> + Send + 'static>>
fn checkPeers(
&self,
arg_req: &CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersError>> + Send + 'static>>
[src]
&self,
arg_req: &CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersError>> + Send + 'static>>
fn addAdminTask(
&self,
arg_req: &AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskError>> + Send + 'static>>
[src]
&self,
arg_req: &AddAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddAdminTaskError>> + Send + 'static>>
fn stopAdminTask(
&self,
arg_req: &StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskError>> + Send + 'static>>
[src]
&self,
arg_req: &StopAdminTaskRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, StopAdminTaskError>> + Send + 'static>>