pub struct Client { /* private fields */ }Implementations§
Trait Implementations§
Source§impl From<Pool<ConnectionManager>> for Client
impl From<Pool<ConnectionManager>> for Client
Source§fn from(pool: Pool<ConnectionManager>) -> Self
fn from(pool: Pool<ConnectionManager>) -> Self
Converts to this type from the input type.
Source§impl Sender for Client
impl Sender for Client
type Error = Error
fn send<'life0, 'async_trait>(
&'life0 self,
request: RequestType,
) -> Pin<Box<dyn Future<Output = Result<Response, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_all<'life0, 'life1, 'async_trait>(
&'life0 self,
requests: &'life1 [RequestType],
) -> Pin<Box<dyn Future<Output = Result<Response, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more