#[repr(u32)]pub enum IommuType {
Type1v2 = 3,
NoIommu = 8,
}Expand description
IOMMU type for VFIO container.
Only Type1v2 and NoIommu are supported. Type1 (v1) is a legacy interface that does not support fine-grained DMA mapping and is intentionally excluded.
Variants§
Auto Trait Implementations§
impl Freeze for IommuType
impl RefUnwindSafe for IommuType
impl Send for IommuType
impl Sync for IommuType
impl Unpin for IommuType
impl UnsafeUnpin for IommuType
impl UnwindSafe for IommuType
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