pub struct FrameHeader {
pub length: usize,
pub component: u16,
pub command: u16,
pub error: u16,
pub ty: FrameType,
pub options: u8,
pub seq: u16,
}Expand description
The header for a fire frame
Fields§
§length: usizeThe length of the frame contents
component: u16The component that should handle this frame
command: u16The command that should handle this frame
error: u16Error code if this is an error frame
ty: FrameTypeThe type of frame
options: u8Frame options bitset
seq: u16Sequence number for tracking request and response mappings
Auto Trait Implementations§
impl Freeze for FrameHeader
impl RefUnwindSafe for FrameHeader
impl Send for FrameHeader
impl Sync for FrameHeader
impl Unpin for FrameHeader
impl UnwindSafe for FrameHeader
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