pub struct EnvelopeHeader {
pub len: u32,
pub ver: u8,
pub ty: FrameType,
pub flags: Flags,
pub channel: u16,
pub corr: u64,
}Expand description
A decoded envelope header. The body is the len bytes that follow it.
Fields§
§len: u32Number of body bytes after the header.
ver: u8Envelope version.
ty: FrameTypeFrame kind.
flags: FlagsFlag bits.
channel: u16Route = (component, session); 0 = subc itself.
corr: u64Correlation id.
Implementations§
Trait Implementations§
Source§impl Clone for EnvelopeHeader
impl Clone for EnvelopeHeader
Source§fn clone(&self) -> EnvelopeHeader
fn clone(&self) -> EnvelopeHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EnvelopeHeader
Source§impl Debug for EnvelopeHeader
impl Debug for EnvelopeHeader
impl Eq for EnvelopeHeader
Source§impl PartialEq for EnvelopeHeader
impl PartialEq for EnvelopeHeader
Source§fn eq(&self, other: &EnvelopeHeader) -> bool
fn eq(&self, other: &EnvelopeHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnvelopeHeader
Auto Trait Implementations§
impl Freeze for EnvelopeHeader
impl RefUnwindSafe for EnvelopeHeader
impl Send for EnvelopeHeader
impl Sync for EnvelopeHeader
impl Unpin for EnvelopeHeader
impl UnsafeUnpin for EnvelopeHeader
impl UnwindSafe for EnvelopeHeader
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