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 ==
.impl Copy for grpc_security_level
impl Eq for grpc_security_level
impl StructuralEq for grpc_security_level
impl StructuralPartialEq for grpc_security_level
Auto Trait Implementations§
impl RefUnwindSafe for grpc_security_level
impl Send for grpc_security_level
impl Sync for grpc_security_level
impl Unpin for grpc_security_level
impl UnwindSafe for grpc_security_level
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