pub struct Tag {
pub end: bool,
pub id: u32,
}
Expand description
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.
Implementations§
Trait Implementations§
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more