pub type ProgressMsg<T> = Bincode<(usize, usize, ChangeBatch<(Location, T)>)>;
Expand description
A progress update message consisting of source worker id, sequence number and lists of message and internal updates
Aliased Type§
struct ProgressMsg<T> {
pub payload: (usize, usize, ChangeBatch<(Location, T)>),
}
Fields§
§payload: (usize, usize, ChangeBatch<(Location, T)>)
Bincode contents.
Trait Implementations
Source§impl<T: Data> Bytesable for Bincode<T>
impl<T: Data> Bytesable for Bincode<T>
Source§fn from_bytes(bytes: Bytes) -> Self
fn from_bytes(bytes: Bytes) -> Self
Wrap bytes as
Self
.Source§fn length_in_bytes(&self) -> usize
fn length_in_bytes(&self) -> usize
The number of bytes required to serialize the data.
Source§fn into_bytes<W: Write>(&self, writer: &mut W)
fn into_bytes<W: Write>(&self, writer: &mut W)
Writes the binary representation into
writer
.