pub struct UsbBufferReport {
pub config_descriptor_used: usize,
pub bos_descriptor_used: usize,
pub msos_descriptor_used: usize,
pub control_buffer_size: usize,
}
Expand description
A report of the used size of the runtime allocated buffers
Fields§
§config_descriptor_used: usize
Number of config descriptor bytes used
bos_descriptor_used: usize
Number of bos descriptor bytes used
msos_descriptor_used: usize
Number of msos descriptor bytes used
control_buffer_size: usize
Size of the control buffer
Trait Implementations§
Source§impl Clone for UsbBufferReport
impl Clone for UsbBufferReport
Source§fn clone(&self) -> UsbBufferReport
fn clone(&self) -> UsbBufferReport
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UsbBufferReport
impl Debug for UsbBufferReport
Source§impl Format for UsbBufferReport
impl Format for UsbBufferReport
Source§impl PartialEq for UsbBufferReport
impl PartialEq for UsbBufferReport
impl Copy for UsbBufferReport
impl Eq for UsbBufferReport
impl StructuralPartialEq for UsbBufferReport
Auto Trait Implementations§
impl Freeze for UsbBufferReport
impl RefUnwindSafe for UsbBufferReport
impl Send for UsbBufferReport
impl Sync for UsbBufferReport
impl Unpin for UsbBufferReport
impl UnwindSafe for UsbBufferReport
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