Struct rustls::server::NoClientAuth
source · pub struct NoClientAuth;
Expand description
Turns off client authentication.
Implementations§
source§impl NoClientAuth
impl NoClientAuth
sourcepub fn boxed() -> Arc<dyn ClientCertVerifier>
pub fn boxed() -> Arc<dyn ClientCertVerifier>
Construct a NoClientAuth
, wrap it in an Arc
and coerce it to
dyn ClientCertVerifier
.
Auto Trait Implementations§
impl RefUnwindSafe for NoClientAuth
impl Send for NoClientAuth
impl Sync for NoClientAuth
impl Unpin for NoClientAuth
impl UnwindSafe for NoClientAuth
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