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