pub struct ChunkData { /* private fields */ }Expand description
The chunks of one stream buffer, by chunk ID: what a nodemap’s chunk ports read.
Built by the transport layer, which knows the buffer’s chunk layout —
viva-genicam’s Frame makes one from a GigE Vision payload. Each chunk
is a [Bytes] slice of the buffer, so building and attaching one copies no
image data.
When a buffer carries two chunks with the same ID, the first one pushed is the one ports read.
Implementations§
Trait Implementations§
impl Eq for ChunkData
Source§impl FromIterator<(u64, Bytes)> for ChunkData
impl FromIterator<(u64, Bytes)> for ChunkData
impl StructuralPartialEq for ChunkData
Auto Trait Implementations§
impl Freeze for ChunkData
impl RefUnwindSafe for ChunkData
impl Send for ChunkData
impl Sync for ChunkData
impl Unpin for ChunkData
impl UnsafeUnpin for ChunkData
impl UnwindSafe for ChunkData
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