Struct bb8_nebula_graph::graph::NebulaGraphConnectionManager [−][src]
Implementations
impl<H> NebulaGraphConnectionManager<H> where
H: ResponseHandler + Send + Sync + 'static + Unpin,
[src]
H: ResponseHandler + Send + Sync + 'static + Unpin,
pub fn new(
client_configuration: NebulaGraphClientConfiguration,
transport_configuration: AsyncTransportConfiguration<H>
) -> Self
[src]
client_configuration: NebulaGraphClientConfiguration,
transport_configuration: AsyncTransportConfiguration<H>
) -> Self
Trait Implementations
impl<H: Clone> Clone for NebulaGraphConnectionManager<H> where
H: ResponseHandler,
[src]
H: ResponseHandler,
fn clone(&self) -> NebulaGraphConnectionManager<H>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<H> ManageConnection for NebulaGraphConnectionManager<H> where
H: ResponseHandler + Send + Sync + 'static + Unpin,
[src]
H: ResponseHandler + Send + Sync + 'static + Unpin,
type Connection = AsyncGraphSession<AsyncTransport<TcpStream, H>>
The connection type this manager deals with.
type Error = Error
The error type returned by Connection
s.
fn connect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn is_valid<'life0, 'async_trait>(
&'life0 self,
conn: Self::Connection
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: Self::Connection
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn has_broken(&self, conn: &mut Self::Connection) -> bool
[src]
Auto Trait Implementations
impl<H> RefUnwindSafe for NebulaGraphConnectionManager<H> where
H: RefUnwindSafe,
H: RefUnwindSafe,
impl<H> Send for NebulaGraphConnectionManager<H> where
H: Send,
H: Send,
impl<H> Sync for NebulaGraphConnectionManager<H> where
H: Sync,
H: Sync,
impl<H> Unpin for NebulaGraphConnectionManager<H> where
H: Unpin,
H: Unpin,
impl<H> UnwindSafe for NebulaGraphConnectionManager<H> where
H: UnwindSafe,
H: 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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,