Type Definition kafka_protocol::protocol::StrBytes
source · pub type StrBytes = String<Bytes>;
Expand description
A string type backed by bytes::Bytes
.
Trait Implementations§
source§impl From<TransactionalId> for StrBytes
impl From<TransactionalId> for StrBytes
source§fn from(other: TransactionalId) -> Self
fn from(other: TransactionalId) -> Self
Converts to this type from the input type.
source§impl PartialEq<GroupId> for StrBytes
impl PartialEq<GroupId> for StrBytes
source§impl PartialEq<TopicName> for StrBytes
impl PartialEq<TopicName> for StrBytes
source§impl PartialEq<TransactionalId> for StrBytes
impl PartialEq<TransactionalId> for StrBytes
source§fn eq(&self, other: &TransactionalId) -> bool
fn eq(&self, other: &TransactionalId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.