Enum tonic::codec::CompressionEncoding
source · #[non_exhaustive]pub enum CompressionEncoding {}
Expand description
The compression encodings Tonic supports.
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 Display for CompressionEncoding
impl Display for CompressionEncoding
source§impl PartialEq for CompressionEncoding
impl PartialEq for CompressionEncoding
source§fn eq(&self, other: &CompressionEncoding) -> bool
fn eq(&self, other: &CompressionEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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§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