Struct rustls::WantsVersions
source · pub struct WantsVersions {
cipher_suites: Vec<SupportedCipherSuite>,
kx_groups: Vec<&'static SupportedKxGroup>,
}
Expand description
Config builder state where the caller must supply TLS protocol versions.
For more information, see the ConfigBuilder
documentation.
Fields§
§cipher_suites: Vec<SupportedCipherSuite>
§kx_groups: Vec<&'static SupportedKxGroup>
Trait Implementations§
source§impl Clone for WantsVersions
impl Clone for WantsVersions
source§fn clone(&self) -> WantsVersions
fn clone(&self) -> WantsVersions
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 moreAuto Trait Implementations§
impl Freeze for WantsVersions
impl !RefUnwindSafe for WantsVersions
impl Send for WantsVersions
impl Sync for WantsVersions
impl Unpin for WantsVersions
impl !UnwindSafe for WantsVersions
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)