pub struct CustomCaTransport { /* private fields */ }Expand description
Custom CA trust root (DER-encoded). No Authorization header is injected.
Use when the server presents a certificate signed by a private CA.
Pair with any AuthProvider for credential injection — including
BearerAuth or BasicAuth if the server also requires credentials.
Implementations§
Trait Implementations§
Source§impl Clone for CustomCaTransport
impl Clone for CustomCaTransport
Source§fn clone(&self) -> CustomCaTransport
fn clone(&self) -> CustomCaTransport
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 CustomCaTransport
impl Debug for CustomCaTransport
Source§impl TransportConfig for CustomCaTransport
impl TransportConfig for CustomCaTransport
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 CustomCaTransport
impl RefUnwindSafe for CustomCaTransport
impl Send for CustomCaTransport
impl Sync for CustomCaTransport
impl Unpin for CustomCaTransport
impl UnsafeUnpin for CustomCaTransport
impl UnwindSafe for CustomCaTransport
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