[][src]Struct bb8_bolt::BoltConnectionManager

pub struct BoltConnectionManager { /* fields omitted */ }

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]

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.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.