pub struct InstrumentedHandle(/* private fields */);Expand description
Public handle returned by ReqwestHttpClient that satisfies TokenHttpClient.
Trait Implementations§
Source§impl<'c> AsyncHttpClient<'c> for InstrumentedHandle
Available on crate feature reqwest only.
impl<'c> AsyncHttpClient<'c> for InstrumentedHandle
Available on crate feature
reqwest only.Source§type Error = HttpClientError<Error>
type Error = HttpClientError<Error>
Error type returned by HTTP client.
Source§type Future = Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, <InstrumentedHandle as AsyncHttpClient<'c>>::Error>> + Send + Sync + 'c>>
type Future = Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, <InstrumentedHandle as AsyncHttpClient<'c>>::Error>> + Send + Sync + 'c>>
Future type returned by HTTP client.
Source§fn call(&'c self, request: HttpRequest) -> Self::Future
fn call(&'c self, request: HttpRequest) -> Self::Future
Perform a single HTTP request.
Source§impl Clone for InstrumentedHandle
impl Clone for InstrumentedHandle
Source§fn clone(&self) -> InstrumentedHandle
fn clone(&self) -> InstrumentedHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InstrumentedHandle
impl !RefUnwindSafe for InstrumentedHandle
impl Send for InstrumentedHandle
impl Sync for InstrumentedHandle
impl Unpin for InstrumentedHandle
impl !UnwindSafe for InstrumentedHandle
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