pub struct Client { /* private fields */ }
Expand description
The Client for making requests.
Implementations§
Trait Implementations§
Source§impl<T> ClientExecutor<T> for Clientwhere
T: DeserializeOwned,
impl<T> ClientExecutor<T> for Clientwhere
T: DeserializeOwned,
Source§type Result = ResponseFuture<T>
type Result = ResponseFuture<T>
The return type of this client.
Source§fn 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 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<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