Enum grpcio_sys::grpc_tls_server_verification_option [−][src]
#[repr(u32)]
pub enum grpc_tls_server_verification_option {
GRPC_TLS_SERVER_VERIFICATION,
GRPC_TLS_SKIP_HOSTNAME_VERIFICATION,
GRPC_TLS_SKIP_ALL_SERVER_VERIFICATION,
}
Variants
Default option: performs server certificate verification and hostname verification.
Performs server certificate verification, but skips hostname verification Client is responsible for verifying server’s identity via server authorization check callback.
Skips both server certificate and hostname verification. Client is responsible for verifying server’s identity and server’s certificate via server authorization check callback.
Trait Implementations
Auto Trait Implementations
impl Send for grpc_tls_server_verification_option
impl Sync for grpc_tls_server_verification_option
impl Unpin for grpc_tls_server_verification_option
Blanket Implementations
Mutably borrows from an owned value. Read more