pub struct GvspTrailer {
pub payload_type: u16,
pub size_y: u32,
pub chunk_payload_length: Option<u32>,
pub chunk_layout_id: Option<u32>,
}Expand description
The fields of a data trailer.
Fields§
§payload_type: u16Payload type the trailer closes, chunk flag included.
size_y: u32Size Y for an image: the lines the block delivered. For a chunk-data
block (0x0004) the same field is the payload data length.
chunk_payload_length: Option<u32>With the chunk flag (0x4000), the chunk data payload length the
trailer reports after its 8 bytes; None without one.
chunk_layout_id: Option<u32>With the chunk flag, the chunk layout ID: the device changes it when the set or position of chunks changes, so a receiver may cache a layout while it holds.
Trait Implementations§
Source§impl Clone for GvspTrailer
impl Clone for GvspTrailer
impl Copy for GvspTrailer
Source§impl Debug for GvspTrailer
impl Debug for GvspTrailer
impl Eq for GvspTrailer
Source§impl PartialEq for GvspTrailer
impl PartialEq for GvspTrailer
impl StructuralPartialEq for GvspTrailer
Auto Trait Implementations§
impl Freeze for GvspTrailer
impl RefUnwindSafe for GvspTrailer
impl Send for GvspTrailer
impl Sync for GvspTrailer
impl Unpin for GvspTrailer
impl UnsafeUnpin for GvspTrailer
impl UnwindSafe for GvspTrailer
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