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
end: bool
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.
id: u32
Identification number associated with this stream.
Methods
impl Tag
[src]
Trait Implementations
impl PartialEq for Tag
[src]
fn eq(&self, __arg_0: &Tag) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Tag) -> bool
This method tests for !=
.
impl Eq for Tag
[src]
impl Debug for Tag
[src]
impl Clone for Tag
[src]
fn clone(&self) -> Tag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more