pub struct Header {
pub packet_type: PktType,
pub c: bool,
pub t: bool,
pub tsi: Tsi,
pub tsf: Tsf,
pub packet_count: u8,
pub packet_size: u16,
}Expand description
VRT Packet Header
Fields§
§packet_type: PktTypeVRT Packet Type
c: boolIs the Class Identifier (Class ID) field included in the packet?
t: boolIs the VRT Packet Trailer included in the packet?
tsi: TsiType of Integer-seconds Timestamp included in the packet.
tsf: TsfType of Fractional-seconds Timestamp included in the packet.
packet_count: u8Incremental count of data packets in the same stream. Rolls over from “1111” to “0000” as needed.
packet_size: u16The total number of 32-bit words present in the data packet including the header, payload, and any optional fields.
Implementations§
Trait Implementations§
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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