Trait DmaBufAllocatorExtManual
Sourcepub trait DmaBufAllocatorExtManual: IsA<DmaBufAllocator> + 'static {
// Provided methods
unsafe fn alloc_dmabuf<A: IntoRawFd>(
&self,
fd: A,
size: usize,
) -> Result<Memory, BoolError> { ... }
unsafe fn alloc_dmabuf_with_flags(
&self,
fd: RawFd,
size: usize,
flags: FdMemoryFlags,
) -> Result<Memory, BoolError> { ... }
}
Provided Methods§
unsafe fn alloc_dmabuf<A: IntoRawFd>( &self, fd: A, size: usize, ) -> Result<Memory, BoolError>
unsafe fn alloc_dmabuf_with_flags( &self, fd: RawFd, size: usize, flags: FdMemoryFlags, ) -> Result<Memory, BoolError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.