Struct grpcio_sys::grpc_compression_options
source · #[repr(C)]pub struct grpc_compression_options {
pub enabled_algorithms_bitset: u32,
pub default_level: grpc_compression_options_grpc_compression_options_default_level,
pub default_algorithm: grpc_compression_options_grpc_compression_options_default_algorithm,
}
Fields§
§enabled_algorithms_bitset: u32
All algs are enabled by default. This option corresponds to the channel argument key behind \a GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET
default_level: grpc_compression_options_grpc_compression_options_default_level
§default_algorithm: grpc_compression_options_grpc_compression_options_default_algorithm
Trait Implementations§
source§impl Clone for grpc_compression_options
impl Clone for grpc_compression_options
source§fn clone(&self) -> grpc_compression_options
fn clone(&self) -> grpc_compression_options
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 more