pub struct TlsOptions {
pub roots: TrustRoots,
pub client_identity: Option<ClientIdentity>,
}Expand description
The TLS options of a fetcher.
The default trusts the host system store, TrustRoots::System, and
presents no client certificate.
Fields§
§roots: TrustRootsThe trust setting for the server certificate.
client_identity: Option<ClientIdentity>The client certificate to present, for a remote that requires one.
The fetcher presents the certificate to the origin that a request
names, the origin of a mirror or of a URL target. A redirect hop at
another origin gets no certificate. Fetcher::fetch states the
redirect rules.
Trait Implementations§
Source§impl Clone for TlsOptions
impl Clone for TlsOptions
Source§impl Debug for TlsOptions
impl Debug for TlsOptions
Source§impl Default for TlsOptions
impl Default for TlsOptions
impl Eq for TlsOptions
Source§impl PartialEq for TlsOptions
impl PartialEq for TlsOptions
impl StructuralPartialEq for TlsOptions
Auto Trait Implementations§
impl Forget for TlsOptions
impl Freeze for TlsOptions
impl Move for TlsOptions
impl RefUnwindSafe for TlsOptions
impl Send for TlsOptionswhere
RawVecInner: Send,
impl Sync for TlsOptionswhere
RawVecInner: Sync,
impl Unpin for TlsOptions
impl UnsafeUnpin for TlsOptions
impl UnwindSafe for TlsOptionswhere
RawVecInner: UnwindSafe,
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.