[−][src]Trait nebula_graph_fbthrift_storage_v2::client::GraphStorageService
Required methods
fn getNeighbors(
&self,
arg_req: &GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, GetNeighborsError>> + Send + 'static>>
&self,
arg_req: &GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, GetNeighborsError>> + Send + 'static>>
fn getProps(
&self,
arg_req: &GetPropRequest
) -> Pin<Box<dyn Future<Output = Result<GetPropResponse, GetPropsError>> + Send + 'static>>
&self,
arg_req: &GetPropRequest
) -> Pin<Box<dyn Future<Output = Result<GetPropResponse, GetPropsError>> + Send + 'static>>
fn addVertices(
&self,
arg_req: &AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesError>> + Send + 'static>>
&self,
arg_req: &AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesError>> + Send + 'static>>
fn addEdges(
&self,
arg_req: &AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesError>> + Send + 'static>>
&self,
arg_req: &AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesError>> + Send + 'static>>
fn deleteEdges(
&self,
arg_req: &DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesError>> + Send + 'static>>
&self,
arg_req: &DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesError>> + Send + 'static>>
fn deleteVertices(
&self,
arg_req: &DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesError>> + Send + 'static>>
&self,
arg_req: &DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesError>> + Send + 'static>>
fn updateVertex(
&self,
arg_req: &UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexError>> + Send + 'static>>
&self,
arg_req: &UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexError>> + Send + 'static>>
fn updateEdge(
&self,
arg_req: &UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeError>> + Send + 'static>>
&self,
arg_req: &UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeError>> + Send + 'static>>
fn getUUID(
&self,
arg_req: &GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDError>> + Send + 'static>>
&self,
arg_req: &GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDError>> + Send + 'static>>
fn lookupIndex(
&self,
arg_req: &LookupIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookupIndexResp, LookupIndexError>> + Send + 'static>>
&self,
arg_req: &LookupIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookupIndexResp, LookupIndexError>> + Send + 'static>>
fn lookupAndTraverse(
&self,
arg_req: &LookupAndTraverseRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, LookupAndTraverseError>> + Send + 'static>>
&self,
arg_req: &LookupAndTraverseRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, LookupAndTraverseError>> + Send + 'static>>
Implementations
impl dyn GraphStorageService
[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 GraphStorageService + Send + 'static> where
P: Protocol<Frame = T>,
T: Transport,
[src]
protocol: P,
transport: T
) -> Arc<impl GraphStorageService + Send + 'static> where
P: Protocol<Frame = T>,
T: Transport,
impl dyn GraphStorageService
[src]
pub fn mock<'mock>() -> GraphStorageService<'mock>
[src]
Implementors
impl<'a, T> GraphStorageService for T where
T: AsRef<dyn GraphStorageService + 'a>,
T: Send,
[src]
T: AsRef<dyn GraphStorageService + 'a>,
T: Send,
fn getNeighbors(
&self,
arg_req: &GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, GetNeighborsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, GetNeighborsError>> + Send + 'static>>
fn getProps(
&self,
arg_req: &GetPropRequest
) -> Pin<Box<dyn Future<Output = Result<GetPropResponse, GetPropsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetPropRequest
) -> Pin<Box<dyn Future<Output = Result<GetPropResponse, GetPropsError>> + Send + 'static>>
fn addVertices(
&self,
arg_req: &AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesError>> + Send + 'static>>
[src]
&self,
arg_req: &AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesError>> + Send + 'static>>
fn addEdges(
&self,
arg_req: &AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesError>> + Send + 'static>>
[src]
&self,
arg_req: &AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesError>> + Send + 'static>>
fn deleteEdges(
&self,
arg_req: &DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesError>> + Send + 'static>>
[src]
&self,
arg_req: &DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesError>> + Send + 'static>>
fn deleteVertices(
&self,
arg_req: &DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesError>> + Send + 'static>>
[src]
&self,
arg_req: &DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesError>> + Send + 'static>>
fn updateVertex(
&self,
arg_req: &UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexError>> + Send + 'static>>
[src]
&self,
arg_req: &UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexError>> + Send + 'static>>
fn updateEdge(
&self,
arg_req: &UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeError>> + Send + 'static>>
[src]
&self,
arg_req: &UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeError>> + Send + 'static>>
fn getUUID(
&self,
arg_req: &GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDError>> + Send + 'static>>
[src]
&self,
arg_req: &GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDError>> + Send + 'static>>
fn lookupIndex(
&self,
arg_req: &LookupIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookupIndexResp, LookupIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &LookupIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookupIndexResp, LookupIndexError>> + Send + 'static>>
fn lookupAndTraverse(
&self,
arg_req: &LookupAndTraverseRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, LookupAndTraverseError>> + Send + 'static>>
[src]
&self,
arg_req: &LookupAndTraverseRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, LookupAndTraverseError>> + Send + 'static>>
impl<'mock> GraphStorageService for GraphStorageService<'mock>
[src]
fn getNeighbors(
&self,
arg_req: &GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, GetNeighborsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, GetNeighborsError>> + Send + 'static>>
fn getProps(
&self,
arg_req: &GetPropRequest
) -> Pin<Box<dyn Future<Output = Result<GetPropResponse, GetPropsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetPropRequest
) -> Pin<Box<dyn Future<Output = Result<GetPropResponse, GetPropsError>> + Send + 'static>>
fn addVertices(
&self,
arg_req: &AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesError>> + Send + 'static>>
[src]
&self,
arg_req: &AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesError>> + Send + 'static>>
fn addEdges(
&self,
arg_req: &AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesError>> + Send + 'static>>
[src]
&self,
arg_req: &AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesError>> + Send + 'static>>
fn deleteEdges(
&self,
arg_req: &DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesError>> + Send + 'static>>
[src]
&self,
arg_req: &DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesError>> + Send + 'static>>
fn deleteVertices(
&self,
arg_req: &DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesError>> + Send + 'static>>
[src]
&self,
arg_req: &DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesError>> + Send + 'static>>
fn updateVertex(
&self,
arg_req: &UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexError>> + Send + 'static>>
[src]
&self,
arg_req: &UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexError>> + Send + 'static>>
fn updateEdge(
&self,
arg_req: &UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeError>> + Send + 'static>>
[src]
&self,
arg_req: &UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeError>> + Send + 'static>>
fn getUUID(
&self,
arg_req: &GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDError>> + Send + 'static>>
[src]
&self,
arg_req: &GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDError>> + Send + 'static>>
fn lookupIndex(
&self,
arg_req: &LookupIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookupIndexResp, LookupIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &LookupIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookupIndexResp, LookupIndexError>> + Send + 'static>>
fn lookupAndTraverse(
&self,
arg_req: &LookupAndTraverseRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, LookupAndTraverseError>> + Send + 'static>>
[src]
&self,
arg_req: &LookupAndTraverseRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, LookupAndTraverseError>> + Send + 'static>>
impl<P, T> GraphStorageService for GraphStorageServiceImpl<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 getNeighbors(
&self,
arg_req: &GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, GetNeighborsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, GetNeighborsError>> + Send + 'static>>
fn getProps(
&self,
arg_req: &GetPropRequest
) -> Pin<Box<dyn Future<Output = Result<GetPropResponse, GetPropsError>> + Send + 'static>>
[src]
&self,
arg_req: &GetPropRequest
) -> Pin<Box<dyn Future<Output = Result<GetPropResponse, GetPropsError>> + Send + 'static>>
fn addVertices(
&self,
arg_req: &AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesError>> + Send + 'static>>
[src]
&self,
arg_req: &AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesError>> + Send + 'static>>
fn addEdges(
&self,
arg_req: &AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesError>> + Send + 'static>>
[src]
&self,
arg_req: &AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesError>> + Send + 'static>>
fn deleteEdges(
&self,
arg_req: &DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesError>> + Send + 'static>>
[src]
&self,
arg_req: &DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesError>> + Send + 'static>>
fn deleteVertices(
&self,
arg_req: &DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesError>> + Send + 'static>>
[src]
&self,
arg_req: &DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesError>> + Send + 'static>>
fn updateVertex(
&self,
arg_req: &UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexError>> + Send + 'static>>
[src]
&self,
arg_req: &UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexError>> + Send + 'static>>
fn updateEdge(
&self,
arg_req: &UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeError>> + Send + 'static>>
[src]
&self,
arg_req: &UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeError>> + Send + 'static>>
fn getUUID(
&self,
arg_req: &GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDError>> + Send + 'static>>
[src]
&self,
arg_req: &GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDError>> + Send + 'static>>
fn lookupIndex(
&self,
arg_req: &LookupIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookupIndexResp, LookupIndexError>> + Send + 'static>>
[src]
&self,
arg_req: &LookupIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookupIndexResp, LookupIndexError>> + Send + 'static>>
fn lookupAndTraverse(
&self,
arg_req: &LookupAndTraverseRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, LookupAndTraverseError>> + Send + 'static>>
[src]
&self,
arg_req: &LookupAndTraverseRequest
) -> Pin<Box<dyn Future<Output = Result<GetNeighborsResponse, LookupAndTraverseError>> + Send + 'static>>