pub struct Header {
pub sequence: u8,
pub stream_id: u64,
pub timestamp: Option<u32>,
pub media_reset: bool,
pub dbs: u8,
pub sfc: u8,
pub dbc: u8,
pub data_length: u16,
}Expand description
An AM824 PDU’s header fields, the CIP header’s among them.
Fields§
§sequence: u8§stream_id: u64§timestamp: Option<u32>The presentation time of the data block at the frame’s SYT_INTERVAL boundary, the low 32 bits of gPTP nanoseconds; none without one.
media_reset: bool§dbs: u8Quadlets in each data block.
sfc: u8§dbc: u8The first data block’s count.
data_length: u16Octets of data blocks.
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 UnsafeUnpin 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