[−][src]Struct fluvio_sc_schema::objects::MetadataUpdate
updates on metadata
Fields
epoch: Epoch
changes: Vec<Message<Metadata<S>>>
all: Vec<Metadata<S>>
Implementations
impl<S> MetadataUpdate<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
pub fn with_changes(epoch: i64, changes: Vec<Message<Metadata<S>>>) -> Self
[src]
pub fn with_all(epoch: i64, all: Vec<Metadata<S>>) -> Self
[src]
Trait Implementations
impl<S: Clone> Clone for MetadataUpdate<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
pub fn clone(&self) -> MetadataUpdate<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Debug> Debug for MetadataUpdate<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
impl<S> Decoder for MetadataUpdate<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
pub fn decode<T>(&mut self, src: &mut T, version: Version) -> Result<(), Error> where
T: Buf,
[src]
T: Buf,
pub fn decode_from<T>(src: &mut T, version: i16) -> Result<Self, Error> where
Self: Default,
T: Buf,
Self: Default,
T: Buf,
impl<S: Default> Default for MetadataUpdate<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
pub fn default() -> MetadataUpdate<S>
[src]
impl<S> Encoder for MetadataUpdate<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
pub fn encode<T>(&self, dest: &mut T, version: Version) -> Result<(), Error> where
T: BufMut,
[src]
T: BufMut,
pub fn write_size(&self, version: Version) -> usize
[src]
pub fn as_bytes(&self, version: i16) -> Result<Bytes, Error>
impl From<MetadataUpdate<PartitionSpec>> for WatchResponse
[src]
pub fn from(update: MetadataUpdate<PartitionSpec>) -> Self
[src]
impl From<MetadataUpdate<SpuSpec>> for WatchResponse
[src]
pub fn from(update: MetadataUpdate<SpuSpec>) -> Self
[src]
impl TryInto<MetadataUpdate<PartitionSpec>> for WatchResponse
[src]
type Error = Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<MetadataUpdate<PartitionSpec>, Self::Error>
[src]
impl TryInto<MetadataUpdate<SpuSpec>> for WatchResponse
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for MetadataUpdate<S> where
S: RefUnwindSafe,
<S as Spec>::Status: RefUnwindSafe,
[src]
S: RefUnwindSafe,
<S as Spec>::Status: RefUnwindSafe,
impl<S> Send for MetadataUpdate<S> where
S: Send,
<S as Spec>::Status: Send,
[src]
S: Send,
<S as Spec>::Status: Send,
impl<S> Sync for MetadataUpdate<S> where
S: Sync,
<S as Spec>::Status: Sync,
[src]
S: Sync,
<S as Spec>::Status: Sync,
impl<S> Unpin for MetadataUpdate<S> where
S: Unpin,
<S as Spec>::Status: Unpin,
[src]
S: Unpin,
<S as Spec>::Status: Unpin,
impl<S> UnwindSafe for MetadataUpdate<S> where
S: UnwindSafe,
<S as Spec>::Status: UnwindSafe,
[src]
S: UnwindSafe,
<S as Spec>::Status: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,