pub struct QuarantinedDma { /* private fields */ }Expand description
DMA backing that cannot yet be safely recycled.
This type deliberately has no accessor to recover the CPU buffer. Dropping it leaks the backing, preserving the safety invariant.
Implementations§
Source§impl QuarantinedDma
impl QuarantinedDma
pub fn len(&self) -> NonZeroUsize
pub fn domain_id(&self) -> DmaDomainId
Auto Trait Implementations§
impl !RefUnwindSafe for QuarantinedDma
impl !UnwindSafe for QuarantinedDma
impl Freeze for QuarantinedDma
impl Send for QuarantinedDma
impl Sync for QuarantinedDma
impl Unpin for QuarantinedDma
impl UnsafeUnpin for QuarantinedDma
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