Type Alias DispatcherMessageBatch

Source
pub type DispatcherMessageBatch = MessageBatchInner<()>;

Aliased Type§

enum DispatcherMessageBatch {
    Chunk(StreamChunk),
    BarrierBatch(Vec<BarrierInner<()>>),
    Watermark(Watermark),
}

Variants§

§

Chunk(StreamChunk)

§

BarrierBatch(Vec<BarrierInner<()>>)

§

Watermark(Watermark)

Implementations§

Source§

impl DispatcherMessageBatch

Source§

impl DispatcherMessageBatch

Source

pub fn to_protobuf(&self) -> PbStreamMessageBatch

Source

pub fn from_protobuf(prost: &PbStreamMessageBatch) -> StreamExecutorResult<Self>

Source

pub fn get_encoded_len(msg: &impl Message) -> usize

Trait Implementations§

Source§

impl From<MessageInner<()>> for DispatcherMessageBatch

Source§

fn from(m: DispatcherMessage) -> Self

Converts to this type from the input type.