Struct mobc_nebula::graph::GraphConnectionManager [−][src]
Implementations
impl<H> GraphConnectionManager<H> where
H: ResponseHandler + Send + Sync + 'static + Unpin,
[src]
H: ResponseHandler + Send + Sync + 'static + Unpin,
pub fn new(
client_configuration: GraphClientConfiguration,
transport_configuration: AsyncTransportConfiguration<H>
) -> Self
[src]
client_configuration: GraphClientConfiguration,
transport_configuration: AsyncTransportConfiguration<H>
) -> Self
Trait Implementations
impl<H: Clone> Clone for GraphConnectionManager<H> where
H: ResponseHandler,
[src]
H: ResponseHandler,
fn clone(&self) -> GraphConnectionManager<H>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<H> Manager for GraphConnectionManager<H> where
H: ResponseHandler + Send + Sync + 'static + Unpin,
[src]
H: ResponseHandler + Send + Sync + 'static + Unpin,
type Connection = GraphSession<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 check<'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 validate(&self, conn: &mut Self::Connection) -> bool
[src]
pub fn spawn_task<T>(&self, task: T) where
T: Future + Send + 'static,
<T as Future>::Output: Send,
<T as Future>::Output: 'static,
[src]
T: Future + Send + 'static,
<T as Future>::Output: Send,
<T as Future>::Output: 'static,
Auto Trait Implementations
impl<H> RefUnwindSafe for GraphConnectionManager<H> where
H: RefUnwindSafe,
H: RefUnwindSafe,
impl<H> Send for GraphConnectionManager<H> where
H: Send,
H: Send,
impl<H> Sync for GraphConnectionManager<H> where
H: Sync,
H: Sync,
impl<H> Unpin for GraphConnectionManager<H> where
H: Unpin,
H: Unpin,
impl<H> UnwindSafe for GraphConnectionManager<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>,