Struct grpcio_sys::grpc_compression_options_grpc_compression_options_default_algorithm[][src]

#[repr(C)]pub struct grpc_compression_options_grpc_compression_options_default_algorithm {
    pub is_set: c_int,
    pub algorithm: grpc_compression_algorithm,
}

The default message compression algorithm. It’ll be used in the absence of call specific settings. This option corresponds to the channel argument key behind \a GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM.

Fields

is_set: c_intalgorithm: grpc_compression_algorithm

Trait Implementations

impl Clone for grpc_compression_options_grpc_compression_options_default_algorithm[src]

impl Copy for grpc_compression_options_grpc_compression_options_default_algorithm[src]

impl Debug for grpc_compression_options_grpc_compression_options_default_algorithm[src]

Auto Trait Implementations

impl RefUnwindSafe for grpc_compression_options_grpc_compression_options_default_algorithm

impl Send for grpc_compression_options_grpc_compression_options_default_algorithm

impl Sync for grpc_compression_options_grpc_compression_options_default_algorithm

impl Unpin for grpc_compression_options_grpc_compression_options_default_algorithm

impl UnwindSafe for grpc_compression_options_grpc_compression_options_default_algorithm

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.