[−][src]Struct bb8_bolt::BoltConnectionManager
Implementations
impl BoltConnectionManager[src]
pub async fn new(
addr: impl ToSocketAddrs,
domain: Option<String>,
preferred_versions: [u32; 4],
metadata: HashMap<impl Into<String>, impl Into<Value>>
) -> Result<Self, Error>[src]
addr: impl ToSocketAddrs,
domain: Option<String>,
preferred_versions: [u32; 4],
metadata: HashMap<impl Into<String>, impl Into<Value>>
) -> Result<Self, Error>
Trait Implementations
impl ManageConnection for BoltConnectionManager[src]
type Connection = Client<Compat<BufStream<Stream>>>
The connection type this manager deals with.
type Error = Error
The error type returned by Connections.
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 RefUnwindSafe for BoltConnectionManager
impl Send for BoltConnectionManager
impl Sync for BoltConnectionManager
impl Unpin for BoltConnectionManager
impl UnwindSafe for BoltConnectionManager
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>,