Struct rustls::server::builder::WantsServerCert
source · pub struct WantsServerCert {
cipher_suites: Vec<SupportedCipherSuite>,
kx_groups: Vec<&'static SupportedKxGroup>,
versions: EnabledVersions,
verifier: Arc<dyn ClientCertVerifier>,
}
Expand description
A config builder state where the caller must supply how to provide a server certificate to the connecting peer.
For more information, see the ConfigBuilder
documentation.
Fields§
§cipher_suites: Vec<SupportedCipherSuite>
§kx_groups: Vec<&'static SupportedKxGroup>
§versions: EnabledVersions
§verifier: Arc<dyn ClientCertVerifier>
Trait Implementations§
source§impl Clone for WantsServerCert
impl Clone for WantsServerCert
source§fn clone(&self) -> WantsServerCert
fn clone(&self) -> WantsServerCert
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 WantsServerCert
impl !RefUnwindSafe for WantsServerCert
impl Send for WantsServerCert
impl Sync for WantsServerCert
impl Unpin for WantsServerCert
impl !UnwindSafe for WantsServerCert
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