Enum sea_streamer_kafka::CompressionType
source ยท pub enum CompressionType {
None,
Gzip,
Snappy,
Lz4,
Zstd,
}
Variantsยง
Implementationsยง
Trait Implementationsยง
sourceยงimpl Clone for CompressionType
impl Clone for CompressionType
sourceยงfn clone(&self) -> CompressionType
fn clone(&self) -> CompressionType
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 CompressionType
impl Debug for CompressionType
sourceยงimpl Default for CompressionType
impl Default for CompressionType
sourceยงimpl From<CompressionType> for String
impl From<CompressionType> for String
sourceยงfn from(o: CompressionType) -> Self
fn from(o: CompressionType) -> Self
Converts to this type from the input type.
sourceยงimpl PartialEq for CompressionType
impl PartialEq for CompressionType
sourceยงfn eq(&self, other: &CompressionType) -> bool
fn eq(&self, other: &CompressionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompressionType
impl Eq for CompressionType
impl StructuralPartialEq for CompressionType
Auto Trait Implementationsยง
impl Freeze for CompressionType
impl RefUnwindSafe for CompressionType
impl Send for CompressionType
impl Sync for CompressionType
impl Unpin for CompressionType
impl UnwindSafe for CompressionType
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