pub struct Client { /* private fields */ }
Expand description
The Client for making requests.
Implementations
Trait Implementations
sourceimpl<T> ClientExecutor<T> for Clientwhere
T: DeserializeOwned,
impl<T> ClientExecutor<T> for Clientwhere
T: DeserializeOwned,
type Result = ResponseFuture<T>
type Result = ResponseFuture<T>
The return type of this client.
sourcefn send(&self, builder: RequestBuilder) -> Self::Result
fn send(&self, builder: RequestBuilder) -> Self::Result
Sends a requests returning the client’s return type.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more