Type Alias kafka_protocol::protocol::StrBytes

source ·
pub type StrBytes = String<Bytes>;
Expand description

A string type backed by bytes::Bytes.

Aliased Type§

struct StrBytes { /* private fields */ }

Trait Implementations§

source§

impl From<GroupId> for StrBytes

source§

fn from(other: GroupId) -> Self

Converts to this type from the input type.
source§

impl From<TopicName> for StrBytes

source§

fn from(other: TopicName) -> Self

Converts to this type from the input type.
source§

impl From<TransactionalId> for StrBytes

source§

fn from(other: TransactionalId) -> Self

Converts to this type from the input type.
source§

impl PartialEq<GroupId> for StrBytes

source§

fn eq(&self, other: &GroupId) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TopicName> for StrBytes

source§

fn eq(&self, other: &TopicName) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TransactionalId> for StrBytes

source§

fn eq(&self, other: &TransactionalId) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.