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<'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: PartialOrd, T: PartialOrd, R: PartialOrd> PartialOrd for Message<D, T, R>
impl<D: PartialOrd, T: PartialOrd, R: PartialOrd> PartialOrd for Message<D, T, R>
impl<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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> PreferredContainer for T
impl<T> PreferredContainer for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.