#[repr(u32)]pub enum grpc_compression_algorithm {
GRPC_COMPRESS_NONE = 0,
GRPC_COMPRESS_DEFLATE = 1,
GRPC_COMPRESS_GZIP = 2,
GRPC_COMPRESS_ALGORITHMS_COUNT = 3,
}
Expand description
The various compression algorithms supported by gRPC (not sorted by compression level)
Variants§
GRPC_COMPRESS_NONE = 0
GRPC_COMPRESS_DEFLATE = 1
GRPC_COMPRESS_GZIP = 2
GRPC_COMPRESS_ALGORITHMS_COUNT = 3
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
impl Copy for grpc_compression_algorithm
impl Eq for grpc_compression_algorithm
impl StructuralPartialEq for grpc_compression_algorithm
Auto Trait Implementations§
impl Freeze for grpc_compression_algorithm
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