Struct kafka_protocol::protocol::types::CompactBytes
source · pub struct CompactBytes;
Expand description
A sequence of bytes that is encoded with a u32
or a varint, depending on size.
Trait Implementations§
source§impl Clone for CompactBytes
impl Clone for CompactBytes
source§fn clone(&self) -> CompactBytes
fn clone(&self) -> CompactBytes
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 CompactBytes
impl Debug for CompactBytes
source§impl Default for CompactBytes
impl Default for CompactBytes
source§fn default() -> CompactBytes
fn default() -> CompactBytes
Returns the “default value” for a type. Read more