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