pub enum AsyncTlsRootStore {
BackendDefault,
WebPki,
System,
}Expand description
Trust root selection for async HTTPS requests.
This only affects the async transport when using HTTPS.
Variants§
BackendDefault
Use the backend default trust roots.
For rustls, this maps to WebPKI roots.
For native-tls, this follows the backend default behavior.
WebPki
Force WebPKI roots.
System
Use platform/system trust verification.
Trait Implementations§
Source§impl Clone for AsyncTlsRootStore
impl Clone for AsyncTlsRootStore
Source§fn clone(&self) -> AsyncTlsRootStore
fn clone(&self) -> AsyncTlsRootStore
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 AsyncTlsRootStore
impl Debug for AsyncTlsRootStore
Source§impl Default for AsyncTlsRootStore
impl Default for AsyncTlsRootStore
Source§fn default() -> AsyncTlsRootStore
fn default() -> AsyncTlsRootStore
Returns the “default value” for a type. Read more
Source§impl PartialEq for AsyncTlsRootStore
impl PartialEq for AsyncTlsRootStore
impl Copy for AsyncTlsRootStore
impl Eq for AsyncTlsRootStore
impl StructuralPartialEq for AsyncTlsRootStore
Auto Trait Implementations§
impl Freeze for AsyncTlsRootStore
impl RefUnwindSafe for AsyncTlsRootStore
impl Send for AsyncTlsRootStore
impl Sync for AsyncTlsRootStore
impl Unpin for AsyncTlsRootStore
impl UnsafeUnpin for AsyncTlsRootStore
impl UnwindSafe for AsyncTlsRootStore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.