[−][src]Trait nebula_graph_client::query::Query
Required methods
#[must_use]fn query_as<'life0, 'life1, 'async_trait, D: DeserializeOwned>(
&'life0 mut self,
stmt: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<D>, QueryError>> + Send + 'async_trait>> where
D: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
stmt: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<D>, QueryError>> + Send + 'async_trait>> where
D: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Provided methods
#[must_use]fn query<'life0, 'life1, 'async_trait>(
&'life0 mut self,
stmt: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<()>, QueryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
stmt: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<()>, QueryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
#[must_use]fn show_hosts<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<Host>, QueryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<Host>, QueryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
#[must_use]fn show_spaces<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<Space>, QueryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<Space>, QueryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
Implementors
impl<T> Query for AsyncGraphSession<T> where
T: Transport + Send + Sync,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,
[src]
T: Transport + Send + Sync,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,
fn query_as<'life0, 'life1, 'async_trait, D: DeserializeOwned>(
&'life0 mut self,
stmt: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<D>, QueryError>> + Send + 'async_trait>> where
D: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
stmt: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<D>, QueryError>> + Send + 'async_trait>> where
D: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,