Struct fluvio::metadata::objects::MetadataUpdate[][src]

pub struct MetadataUpdate<S> where
    S: Spec + Debug + Encoder + Decoder,
    <S as Spec>::Status: Debug,
    <S as Spec>::Status: Encoder,
    <S as Spec>::Status: Decoder
{ pub epoch: i64, pub changes: Vec<Message<Metadata<S>>, Global>, pub all: Vec<Metadata<S>, Global>, }

updates on metadata

Fields

epoch: i64changes: Vec<Message<Metadata<S>>, Global>all: Vec<Metadata<S>, Global>

Implementations

impl<S> MetadataUpdate<S> where
    S: Spec + Debug + Encoder + Decoder,
    <S as Spec>::Status: Debug,
    <S as Spec>::Status: Encoder,
    <S as Spec>::Status: Decoder
[src]

pub fn with_changes(
    epoch: i64,
    changes: Vec<Message<Metadata<S>>, Global>
) -> MetadataUpdate<S>
[src]

pub fn with_all(epoch: i64, all: Vec<Metadata<S>, Global>) -> MetadataUpdate<S>[src]

Trait Implementations

impl<S> Clone for MetadataUpdate<S> where
    S: Clone + Spec + Debug + Encoder + Decoder,
    <S as Spec>::Status: Debug,
    <S as Spec>::Status: Encoder,
    <S as Spec>::Status: Decoder
[src]

impl<S> Debug for MetadataUpdate<S> where
    S: Debug + Spec + Encoder + Decoder,
    <S as Spec>::Status: Debug,
    <S as Spec>::Status: Encoder,
    <S as Spec>::Status: Decoder
[src]

impl<S> Decoder for MetadataUpdate<S> where
    S: Spec + Debug + Encoder + Decoder,
    <S as Spec>::Status: Debug,
    <S as Spec>::Status: Encoder,
    <S as Spec>::Status: Decoder
[src]

impl<S> Default for MetadataUpdate<S> where
    S: Default + Spec + Debug + Encoder + Decoder,
    <S as Spec>::Status: Debug,
    <S as Spec>::Status: Encoder,
    <S as Spec>::Status: Decoder
[src]

impl<S> Encoder for MetadataUpdate<S> where
    S: Spec + Debug + Encoder + Decoder,
    <S as Spec>::Status: Debug,
    <S as Spec>::Status: Encoder,
    <S as Spec>::Status: Decoder
[src]

impl From<MetadataUpdate<PartitionSpec>> for WatchResponse[src]

impl From<MetadataUpdate<SpuSpec>> for WatchResponse[src]

impl TryInto<MetadataUpdate<PartitionSpec>> for WatchResponse[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryInto<MetadataUpdate<SpuSpec>> for WatchResponse[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<S> RefUnwindSafe for MetadataUpdate<S> where
    S: RefUnwindSafe,
    <S as Spec>::Status: RefUnwindSafe

impl<S> Send for MetadataUpdate<S> where
    S: Send,
    <S as Spec>::Status: Send

impl<S> Sync for MetadataUpdate<S> where
    S: Sync,
    <S as Spec>::Status: Sync

impl<S> Unpin for MetadataUpdate<S> where
    S: Unpin,
    <S as Spec>::Status: Unpin

impl<S> UnwindSafe for MetadataUpdate<S> where
    S: UnwindSafe,
    <S as Spec>::Status: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]