pub struct DefaultTransport;Expand description
Standard reqwest client with a 10-second connect timeout; no custom TLS.
Use for servers with publicly-trusted certificates. Pair with any
AuthProvider for credential injection.
Trait Implementations§
Source§impl Clone for DefaultTransport
impl Clone for DefaultTransport
Source§fn clone(&self) -> DefaultTransport
fn clone(&self) -> DefaultTransport
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 moreSource§impl Debug for DefaultTransport
impl Debug for DefaultTransport
Source§impl TransportConfig for DefaultTransport
impl TransportConfig for DefaultTransport
Source§fn build_client(&self) -> Result<Client, ClientError>
fn build_client(&self) -> Result<Client, ClientError>
Build the
reqwest::Client for this transport configuration.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