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 moresource§impl Debug for grpc_compression_options
impl Debug for grpc_compression_options
impl Copy for grpc_compression_options
Auto Trait Implementations§
impl RefUnwindSafe for grpc_compression_options
impl Send for grpc_compression_options
impl Sync for grpc_compression_options
impl Unpin for grpc_compression_options
impl UnwindSafe for grpc_compression_options
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