#[non_exhaustive]pub struct EvsBlock {
pub payload: Bytes,
pub format: EvsFormat,
pub ts_dev: Option<u64>,
pub leader_size_x: u32,
pub leader_size_y: u32,
pub trailer_size_y: u32,
pub chunks: Option<ChunkData>,
pub ts_host: Option<SystemTime>,
pub block_id: u64,
pub status: FrameStatus,
}Expand description
One raw event-vision block reassembled from GVSP packets.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.payload: BytesEncoded EVT bytes, preserved exactly as transmitted.
format: EvsFormatEVT encoding identified by the GVSP leader’s format code.
ts_dev: Option<u64>Device timestamp from the GVSP leader.
leader_size_x: u32Raw Size X value from the GVSP leader.
leader_size_y: u32Raw Size Y value from the GVSP leader.
trailer_size_y: u32Raw Size Y value from the GVSP trailer.
On the captured TRT009S-E stream this equals the encoded payload length, but it is retained as wire metadata rather than generalized from one device observation.
chunks: Option<ChunkData>The block’s chunks by chunk ID, as on crate::Frame::chunks.
ts_host: Option<SystemTime>Host-correlated timestamp, when time synchronization is available.
block_id: u64GVSP block id.
status: FrameStatusHow the block ended.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EvsBlock
impl RefUnwindSafe for EvsBlock
impl Send for EvsBlock
impl Sync for EvsBlock
impl Unpin for EvsBlock
impl UnsafeUnpin for EvsBlock
impl UnwindSafe for EvsBlock
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