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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.