pub struct CapturePacket {
pub requested_bytes: usize,
pub actual_bytes: usize,
pub succeeded: bool,
}Expand description
Completion descriptor detached from libusb. requested_bytes must equal
the immutable submitted packet length supplied to ingest_completion.
Fields§
§requested_bytes: usize§actual_bytes: usize§succeeded: boolTrait Implementations§
Source§impl Clone for CapturePacket
impl Clone for CapturePacket
impl Copy for CapturePacket
Auto Trait Implementations§
impl Forget for CapturePacket
impl Freeze for CapturePacket
impl Move for CapturePacket
impl RefUnwindSafe for CapturePacket
impl Send for CapturePacket
impl Sync for CapturePacket
impl Unpin for CapturePacket
impl UnsafeUnpin for CapturePacket
impl UnwindSafe for CapturePacket
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