Enum grpcio_sys::grpc_tls_version
source · #[repr(u32)]pub enum grpc_tls_version {
TLS1_2,
TLS1_3,
}
Expand description
The TLS versions that are supported by the SSL stack.
Variants§
Trait Implementations§
source§impl Clone for grpc_tls_version
impl Clone for grpc_tls_version
source§fn clone(&self) -> grpc_tls_version
fn clone(&self) -> grpc_tls_version
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_tls_version
impl Debug for grpc_tls_version
source§impl Hash for grpc_tls_version
impl Hash for grpc_tls_version
source§impl PartialEq<grpc_tls_version> for grpc_tls_version
impl PartialEq<grpc_tls_version> for grpc_tls_version
source§fn eq(&self, other: &grpc_tls_version) -> bool
fn eq(&self, other: &grpc_tls_version) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for grpc_tls_version
impl Eq for grpc_tls_version
impl StructuralEq for grpc_tls_version
impl StructuralPartialEq for grpc_tls_version
Auto Trait Implementations§
impl RefUnwindSafe for grpc_tls_version
impl Send for grpc_tls_version
impl Sync for grpc_tls_version
impl Unpin for grpc_tls_version
impl UnwindSafe for grpc_tls_version
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