Enum tonic::codec::CompressionEncoding
source · [−]#[non_exhaustive]
pub enum CompressionEncoding {}
Expand description
The compression encodings Tonic supports.
Trait Implementations
sourceimpl Clone for CompressionEncoding
impl Clone for CompressionEncoding
sourcefn clone(&self) -> CompressionEncoding
fn clone(&self) -> CompressionEncoding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CompressionEncoding
impl Debug for CompressionEncoding
sourceimpl Display for CompressionEncoding
impl Display for CompressionEncoding
sourceimpl PartialEq<CompressionEncoding> for CompressionEncoding
impl PartialEq<CompressionEncoding> for CompressionEncoding
sourcefn 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 ==
. Read more
impl Copy for CompressionEncoding
impl Eq for CompressionEncoding
impl StructuralEq for CompressionEncoding
impl StructuralPartialEq for CompressionEncoding
Auto Trait Implementations
impl RefUnwindSafe for CompressionEncoding
impl Send for CompressionEncoding
impl Sync for CompressionEncoding
impl Unpin for CompressionEncoding
impl UnwindSafe for CompressionEncoding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;