pub struct XRHeader {
pub block_type: BlockType,
pub type_specific: TypeSpecificField,
pub block_length: u16,
}
Expand description
XRHeader defines the common fields that must appear at the start of each report block. In typical cases, users of ExtendedReports shouldn’t need to access this. For locally-constructed report blocks, these values will not be accurate until the corresponding packet is marshaled.
Fields§
§block_type: BlockType
§type_specific: TypeSpecificField
§block_length: u16
Trait Implementations§
Source§impl MarshalSize for XRHeader
impl MarshalSize for XRHeader
fn marshal_size(&self) -> usize
impl Eq for XRHeader
impl StructuralPartialEq for XRHeader
Auto Trait Implementations§
impl Freeze for XRHeader
impl RefUnwindSafe for XRHeader
impl Send for XRHeader
impl Sync for XRHeader
impl Unpin for XRHeader
impl UnwindSafe for XRHeader
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