Struct rustls::WantsVersions
source · pub struct WantsVersions<C: CryptoProvider> { /* private fields */ }Expand description
Config builder state where the caller must supply TLS protocol versions.
For more information, see the ConfigBuilder documentation.
Trait Implementations§
source§impl<C: Clone + CryptoProvider> Clone for WantsVersions<C>where
C::KeyExchange: Clone,
impl<C: Clone + CryptoProvider> Clone for WantsVersions<C>where C::KeyExchange: Clone,
source§fn clone(&self) -> WantsVersions<C>
fn clone(&self) -> WantsVersions<C>
Returns a copy 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<C: Debug + CryptoProvider> Debug for WantsVersions<C>where
C::KeyExchange: Debug,
impl<C: Debug + CryptoProvider> Debug for WantsVersions<C>where C::KeyExchange: Debug,
Auto Trait Implementations§
impl<C> !RefUnwindSafe for WantsVersions<C>
impl<C> Send for WantsVersions<C>
impl<C> Sync for WantsVersions<C>
impl<C> Unpin for WantsVersions<C>
impl<C> !UnwindSafe for WantsVersions<C>
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