Struct timely::dataflow::channels::message::Message [] [src]

pub struct Message<T, D> {
    pub time: T,
    pub data: Content<D>,
    pub from: usize,
    pub seq: usize,
}

A serializable representation of timestamped data.

Fields

The timestamp associated with the message.

The data in the message.

The source worker.

A sequence number for this worker-to-worker stream.

Methods

impl<T, D> Message<T, D>
[src]

[src]

Allocates a new message from a time, content, source worker id, and sequence number.

Trait Implementations

impl<T: Clone, D: Clone> Clone for Message<T, D>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Abomonation + Clone, D: Abomonation> Serialize for Message<T, D>
[src]

[src]

Append the binary representation of self to a vector of bytes. The &mut self argument may be mutated, but the second argument should only be appended to. Read more

[src]

Recover an instance of Self from its binary representation. The &mut Vec<u8> argument may be taken with mem::replace if it is needed. Read more