pub struct DefaultTransport { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Transport for DefaultTransport
impl Transport for DefaultTransport
fn fetch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
headers: HeaderMap,
method: Method,
body: Option<Vec<u8>>,
query_params: Option<&'life2 [(Cow<'static, str>, Cow<'static, str>)]>,
) -> Pin<Box<dyn Future<Output = Result<Response<Body>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for DefaultTransport
impl !RefUnwindSafe for DefaultTransport
impl Send for DefaultTransport
impl Sync for DefaultTransport
impl Unpin for DefaultTransport
impl UnsafeUnpin for DefaultTransport
impl !UnwindSafe for DefaultTransport
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