Struct grpcio_sys::grpc_compression_options[][src]

#[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_leveldefault_algorithm: grpc_compression_options_grpc_compression_options_default_algorithm

Trait Implementations

impl Clone for grpc_compression_options[src]

impl Copy for grpc_compression_options[src]

impl Debug for grpc_compression_options[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.