pub trait DmaAllocator {
// Required methods
fn alloc_dma(&self, size: usize) -> Result<DmaRegion, DmaAllocError>;
unsafe fn free_dma(&self, region: DmaRegion);
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".