Struct ServerConfigParams
pub struct ServerConfigParams {
pub cert_path: String,
pub key_path: String,
pub client_auth: Option<ClientAuthParams>,
}Expand description
Server TLS parameters (transport-neutral).
Fields§
§cert_path: StringPath to the PEM server certificate chain.
key_path: StringPath to the PEM server private key.
client_auth: Option<ClientAuthParams>Some enables client-certificate verification (mTLS); None is
server-only TLS.
Trait Implementations§
Source§impl Clone for ServerConfigParams
impl Clone for ServerConfigParams
Source§fn clone(&self) -> ServerConfigParams
fn clone(&self) -> ServerConfigParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §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 ServerConfigParams
impl RefUnwindSafe for ServerConfigParams
impl Send for ServerConfigParams
impl Sync for ServerConfigParams
impl Unpin for ServerConfigParams
impl UnsafeUnpin for ServerConfigParams
impl UnwindSafe for ServerConfigParams
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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