pub struct ReqwestTransport { /* private fields */ }Implementations§
Source§impl ReqwestTransport
impl ReqwestTransport
pub fn new(client: Client) -> Self
pub fn from_http_client(client: HttpClient) -> Self
Trait Implementations§
Source§impl Clone for ReqwestTransport
impl Clone for ReqwestTransport
Source§fn clone(&self) -> ReqwestTransport
fn clone(&self) -> ReqwestTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReqwestTransport
impl Debug for ReqwestTransport
Source§impl HttpTransport for ReqwestTransport
impl HttpTransport for ReqwestTransport
async fn execute(&self, req: Request) -> Result<Response, TransportError>
async fn stream(&self, req: Request) -> Result<StreamResponse, TransportError>
Auto Trait Implementations§
impl !RefUnwindSafe for ReqwestTransport
impl !UnwindSafe for ReqwestTransport
impl Freeze for ReqwestTransport
impl Send for ReqwestTransport
impl Sync for ReqwestTransport
impl Unpin for ReqwestTransport
impl UnsafeUnpin for ReqwestTransport
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