pub fn serve_only_authenticated_clients(&self) {
        let mut mode = self.mode.write();
        match mode.deref() {
            ClientCertVerifyMode::AllowAnyClient => {
                *mode = ClientCertVerifyMode::MustVerifyClientCert(AllowAnyAuthenticatedClient {
                    roots: RootCertStore::empty(),
                });
            }
            ClientCertVerifyMode::MustVerifyClientCert(_) => {}
        };
    }
/// If currently serving anonymous clients, start serving only
/// authenticated clients. Otherwise, no-op.
///
/// This is possibly a mutating operation managed by interior mutability
/// (mutex).
If currently serving anonymous clients, start serving only
authenticated clients. Otherwise, no-op.

This is possibly a mutating operation managed by interior mutability
(mutex).
If currently serving anonymous clients start serving only authenticated clients . Otherwise no - op . This is possibly a mutating operation managed by interior mutability ( mutex ) .
pub fn serve_only_authenticated_clients(&self) {
        let mut mode = self.mode.write();
        match mode.deref() {
            ClientCertVerifyMode::AllowAnyClient => {
                *mode = ClientCertVerifyMode::MustVerifyClientCert(AllowAnyAuthenticatedClient {
                    roots: RootCertStore::empty(),
                });
            }
            ClientCertVerifyMode::MustVerifyClientCert(_) => {}
        };
    }
pub fn serve_only_authenticated_clients ( & self ) { let mut mode = self . mode . write ( ) ; match mode . deref ( ) { ClientCertVerifyMode :: AllowAnyClient => { * mode = ClientCertVerifyMode :: MustVerifyClientCert ( AllowAnyAuthenticatedClient { roots : RootCertStore :: empty ( ) , } ) ; } ClientCertVerifyMode :: MustVerifyClientCert ( _ ) => { } } ; }
If currently serving anonymous clients, start serving only
authenticated clients.
If currently serving anonymous clients start serving only authenticated clients .
&self
&self