Struct sozu_client::Client
source · 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 Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)