Enum differential_dataflow::capture::Message
source · pub enum Message<D, T, R> {
Updates(Vec<(D, T, R)>),
Progress(Progress<T>),
}
Expand description
A message in the CDC V2 protocol.
Variants§
Updates(Vec<(D, T, R)>)
A batch of updates that are certain to occur.
Each triple is an irrevocable statement about a change that occurs. Each statement contains a datum, a time, and a difference, and asserts that the multiplicity of the datum changes at the time by the difference.
Progress(Progress<T>)
An irrevocable statement about the number of updates within a time interval.
Trait Implementations§
source§impl<D, T, R> Abomonation for Message<D, T, R>where
Vec<(D, T, R)>: Abomonation,
D: Abomonation,
T: Abomonation,
R: Abomonation,
Progress<T>: Abomonation,
impl<D, T, R> Abomonation for Message<D, T, R>where
Vec<(D, T, R)>: Abomonation,
D: Abomonation,
T: Abomonation,
R: Abomonation,
Progress<T>: Abomonation,
source§impl<'de, D, T, R> Deserialize<'de> for Message<D, T, R>
impl<'de, D, T, R> Deserialize<'de> for Message<D, T, R>
source§fn 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
source§impl<D: Ord, T: Ord, R: Ord> Ord for Message<D, T, R>
impl<D: Ord, T: Ord, R: Ord> Ord for Message<D, T, R>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<D: PartialEq, T: PartialEq, R: PartialEq> PartialEq for Message<D, T, R>
impl<D: PartialEq, T: PartialEq, R: PartialEq> PartialEq for Message<D, T, R>
source§impl<D: PartialOrd, T: PartialOrd, R: PartialOrd> PartialOrd for Message<D, T, R>
impl<D: PartialOrd, T: PartialOrd, R: PartialOrd> PartialOrd for Message<D, T, R>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<D: Eq, T: Eq, R: Eq> Eq for Message<D, T, R>
impl<D, T, R> StructuralPartialEq for Message<D, T, R>
Auto Trait Implementations§
impl<D, T, R> Freeze for Message<D, T, R>
impl<D, T, R> RefUnwindSafe for Message<D, T, R>
impl<D, T, R> Send for Message<D, T, R>
impl<D, T, R> Sync for Message<D, T, R>
impl<D, T, R> Unpin for Message<D, T, R>
impl<D, T, R> UnwindSafe for Message<D, T, R>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.