Struct mz_kafka_util::KafkaAddrs
source · [−]Expand description
Represents the addresses of several Kafka brokers.
Tuple Fields
0: Vec<(String, u16)>
Trait Implementations
sourceimpl Arbitrary for KafkaAddrs
impl Arbitrary for KafkaAddrs
type Parameters = <Vec<(String, u16), Global> as Arbitrary>::Parameters
type Parameters = <Vec<(String, u16), Global> as Arbitrary>::Parameters
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
. Read moretype Strategy = Map<<Vec<(String, u16), Global> as Arbitrary>::Strategy, fn(Vec<(String, u16), Global>) -> KafkaAddrs>
type Strategy = Map<<Vec<(String, u16), Global> as Arbitrary>::Strategy, fn(Vec<(String, u16), Global>) -> KafkaAddrs>
sourcefn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
sourceimpl Clone for KafkaAddrs
impl Clone for KafkaAddrs
sourcefn clone(&self) -> KafkaAddrs
fn clone(&self) -> KafkaAddrs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for KafkaAddrs
impl Debug for KafkaAddrs
sourceimpl<'de> Deserialize<'de> for KafkaAddrs
impl<'de> Deserialize<'de> for KafkaAddrs
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for KafkaAddrs
impl Display for KafkaAddrs
sourceimpl FromStr for KafkaAddrs
impl FromStr for KafkaAddrs
type Err = KafkaAddrsParseError
type Err = KafkaAddrsParseError
The associated error which can be returned from parsing.
sourceimpl Hash for KafkaAddrs
impl Hash for KafkaAddrs
sourceimpl PartialEq<KafkaAddrs> for KafkaAddrs
impl PartialEq<KafkaAddrs> for KafkaAddrs
sourcefn eq(&self, other: &KafkaAddrs) -> bool
fn eq(&self, other: &KafkaAddrs) -> bool
sourceimpl RustType<ProtoKafkaAddrs> for KafkaAddrs
impl RustType<ProtoKafkaAddrs> for KafkaAddrs
sourcefn into_proto(&self) -> ProtoKafkaAddrs
fn into_proto(&self) -> ProtoKafkaAddrs
Convert a
Self
into a Proto
value.sourcefn from_proto(proto: ProtoKafkaAddrs) -> Result<Self, TryFromProtoError>
fn from_proto(proto: ProtoKafkaAddrs) -> Result<Self, TryFromProtoError>
sourceimpl Serialize for KafkaAddrs
impl Serialize for KafkaAddrs
impl Eq for KafkaAddrs
impl StructuralEq for KafkaAddrs
impl StructuralPartialEq for KafkaAddrs
Auto Trait Implementations
impl RefUnwindSafe for KafkaAddrs
impl Send for KafkaAddrs
impl Sync for KafkaAddrs
impl Unpin for KafkaAddrs
impl UnwindSafe for KafkaAddrs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
sourceimpl<T> DisplayExt for Twhere
T: Display,
impl<T> DisplayExt for Twhere
T: Display,
sourcefn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format (
{:#}
) and returns it.sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> FutureExt for T
impl<T> FutureExt for T
sourcefn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
sourcefn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
sourceimpl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
sourcefn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.sourcefn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.