Enum grpcio_sys::grpc_security_level
source · #[repr(u32)]
pub enum grpc_security_level {
GRPC_SECURITY_MIN,
GRPC_INTEGRITY_ONLY,
GRPC_PRIVACY_AND_INTEGRITY,
}
Variants§
Implementations§
source§impl grpc_security_level
impl grpc_security_level
pub const GRPC_SECURITY_NONE: grpc_security_level = grpc_security_level::GRPC_SECURITY_MIN
source§impl grpc_security_level
impl grpc_security_level
pub const GRPC_SECURITY_MAX: grpc_security_level = grpc_security_level::GRPC_PRIVACY_AND_INTEGRITY
Trait Implementations§
source§impl Clone for grpc_security_level
impl Clone for grpc_security_level
source§fn clone(&self) -> grpc_security_level
fn clone(&self) -> grpc_security_level
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for grpc_security_level
impl Debug for grpc_security_level
source§impl Hash for grpc_security_level
impl Hash for grpc_security_level
source§impl PartialEq<grpc_security_level> for grpc_security_level
impl PartialEq<grpc_security_level> for grpc_security_level
source§fn eq(&self, other: &grpc_security_level) -> bool
fn eq(&self, other: &grpc_security_level) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.