pub trait MemoryRegion:
Debug
+ Send
+ Sync {
// Required methods
unsafe fn as_ptr(&self) -> *const u8;
fn size(&self) -> usize;
}Expand description
A trait for storage types that can be used with NIXL
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".