#[repr(u32)]
pub enum grpc_compression_algorithm {
GRPC_COMPRESS_NONE,
GRPC_COMPRESS_DEFLATE,
GRPC_COMPRESS_GZIP,
GRPC_COMPRESS_ALGORITHMS_COUNT,
}
Expand description
The various compression algorithms supported by gRPC (not sorted by compression level)
Variants§
Trait Implementations§
source§impl Clone for grpc_compression_algorithm
impl Clone for grpc_compression_algorithm
source§fn clone(&self) -> grpc_compression_algorithm
fn clone(&self) -> grpc_compression_algorithm
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_compression_algorithm
impl Debug for grpc_compression_algorithm
source§impl Hash for grpc_compression_algorithm
impl Hash for grpc_compression_algorithm
source§impl PartialEq<grpc_compression_algorithm> for grpc_compression_algorithm
impl PartialEq<grpc_compression_algorithm> for grpc_compression_algorithm
source§fn eq(&self, other: &grpc_compression_algorithm) -> bool
fn eq(&self, other: &grpc_compression_algorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.