Trait nebula_graph_client::query::Query[][src]

pub trait Query {
#[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
; #[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
, { ... }
#[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
, { ... }
#[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
, { ... } }

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, 
[src]

Loading content...

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, 
[src]

#[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, 
[src]

#[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, 
[src]

Loading content...

Implementors

impl<T> Query for AsyncGraphSession<T> where
    T: Transport + Send + Sync,
    Bytes: Framing<DecBuf = FramingDecoded<T>>,
    ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>, 
[src]

Loading content...