pub struct Trailer {
pub block_id: u64,
pub status: u16,
pub valid_payload_size: u64,
pub size_y: Option<u32>,
}Expand description
Parsed U3V stream trailer.
Fields§
§block_id: u64The block this trailer closes.
status: u16Status of the block (0 = success).
valid_payload_size: u64Bytes of payload the device actually sent.
size_y: Option<u32>Lines of the image the device sent, from an image trailer of 32 bytes or more; fewer than the leader’s height when a variable-height frame ended early.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trailer
impl RefUnwindSafe for Trailer
impl Send for Trailer
impl Sync for Trailer
impl Unpin for Trailer
impl UnsafeUnpin for Trailer
impl UnwindSafe for Trailer
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