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 !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
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