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

GRPC_TLS_SERVER_VERIFICATION

Default option: performs server certificate verification and hostname verification.

GRPC_TLS_SKIP_HOSTNAME_VERIFICATION

Performs server certificate verification, but skips hostname verification Client is responsible for verifying server’s identity via server authorization check callback.

GRPC_TLS_SKIP_ALL_SERVER_VERIFICATION

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

impl Clone for grpc_tls_server_verification_option[src]

impl Copy for grpc_tls_server_verification_option[src]

impl Debug for grpc_tls_server_verification_option[src]

impl Eq for grpc_tls_server_verification_option[src]

impl Hash for grpc_tls_server_verification_option[src]

impl PartialEq<grpc_tls_server_verification_option> for grpc_tls_server_verification_option[src]

impl StructuralEq for grpc_tls_server_verification_option[src]

impl StructuralPartialEq for grpc_tls_server_verification_option[src]

Auto Trait Implementations

impl RefUnwindSafe for grpc_tls_server_verification_option

impl Send for grpc_tls_server_verification_option

impl Sync for grpc_tls_server_verification_option

impl Unpin for grpc_tls_server_verification_option

impl UnwindSafe for grpc_tls_server_verification_option

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.