[−][src]Struct nebula_graph_client::graph::AsyncGraphSession
Implementations
impl<T> AsyncGraphSession<T> where
T: Transport,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,
[src]
T: Transport,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,
pub async fn signout(self) -> Result<(), SignoutError>
[src]
pub async fn execute<'_, '_>(
&'_ mut self,
stmt: &'_ str
) -> Result<ExecutionResponse, ExecuteError>
[src]
&'_ mut self,
stmt: &'_ str
) -> Result<ExecutionResponse, ExecuteError>
pub fn is_close_required(&self) -> bool
[src]
Trait Implementations
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,
#[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]
&'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,
[src]
&'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,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<QueryOutput<Space>, QueryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
Auto Trait Implementations
impl<T> RefUnwindSafe for AsyncGraphSession<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for AsyncGraphSession<T>
impl<T> Sync for AsyncGraphSession<T> where
T: Sync,
T: Sync,
impl<T> Unpin for AsyncGraphSession<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for AsyncGraphSession<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,