Struct usb_util::device::ManagedDmaBuffer
source · struct ManagedDmaBuffer {
buf: MemoryMapping,
used: Option<Arc<Mutex<DmaBuffer>>>,
}
Expand description
ManagedDmaBuffer represents the entire DMA buffer allocated by a device
Fields§
§buf: MemoryMapping
The entire DMA buffer
used: Option<Arc<Mutex<DmaBuffer>>>
A DMA buffer lent to a TransferBuffer. This is a part of the entire buffer.
Auto Trait Implementations§
impl RefUnwindSafe for ManagedDmaBuffer
impl Send for ManagedDmaBuffer
impl Sync for ManagedDmaBuffer
impl Unpin for ManagedDmaBuffer
impl UnwindSafe for ManagedDmaBuffer
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