Enum static_web_server::tls::TlsClientAuth
source · pub enum TlsClientAuth {
Off,
Optional(Box<dyn Read + Send + Sync>),
Required(Box<dyn Read + Send + Sync>),
}Available on crate feature
http2 only.Expand description
Tls client authentication configuration.
Variants§
Off
No client auth.
Optional(Box<dyn Read + Send + Sync>)
Allow any anonymous or authenticated client.
Required(Box<dyn Read + Send + Sync>)
Allow any authenticated client.
Auto Trait Implementations§
impl !RefUnwindSafe for TlsClientAuth
impl Send for TlsClientAuth
impl Sync for TlsClientAuth
impl Unpin for TlsClientAuth
impl !UnwindSafe for TlsClientAuth
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