Struct mux::Tag [] [src]

pub struct Tag {
    pub end: bool,
    pub id: u32,
}

Id number and end flag for message frames.

Every message has an associated Tag following the frame length and frame type on the wire. The frame id represents the stream identifier and is limited to 23 bits of precision while bit 24 signals if the message stream is ending. This only applies to the Tdispatch and Rdispatch frames.

Fields

Signal that this frame is the end of the stream of fragments.

Currently, only Tdispatch and Rdispatch messages may be split into an ordered sequence of fragments. TdispatchError message ends a Tdispatch sequence and an Rerr ends an Rdispatch sequence.

Identification number associated with this stream.

Methods

impl Tag
[src]

Construct a new Tag.

Trait Implementations

impl PartialEq for Tag
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Tag
[src]

impl Debug for Tag
[src]

Formats the value using the given formatter.

impl Clone for Tag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more