pub enum CompressionEncoding {
Gzip,
}
Expand description
Type of compression to use for requests
Variants§
Gzip
Trait Implementations§
source§impl Clone for CompressionEncoding
impl Clone for CompressionEncoding
source§fn clone(&self) -> CompressionEncoding
fn clone(&self) -> CompressionEncoding
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 CompressionEncoding
impl Debug for CompressionEncoding
source§impl From<CompressionEncoding> for CompressionEncoding
impl From<CompressionEncoding> for CompressionEncoding
source§fn from(encoding: CompressionEncoding) -> Self
fn from(encoding: CompressionEncoding) -> Self
Converts to this type from the input type.
source§impl PartialEq for CompressionEncoding
impl PartialEq for CompressionEncoding
impl Copy for CompressionEncoding
impl Eq for CompressionEncoding
impl StructuralPartialEq for CompressionEncoding
Auto Trait Implementations§
impl Freeze for CompressionEncoding
impl RefUnwindSafe for CompressionEncoding
impl Send for CompressionEncoding
impl Sync for CompressionEncoding
impl Unpin for CompressionEncoding
impl UnwindSafe for CompressionEncoding
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request