Skip to main content

MemoryAllocationCapability

Trait MemoryAllocationCapability 

Source
pub unsafe trait MemoryAllocationCapability { }
Expand description

The MemoryAllocationCapability capability allows the holder to allocate memory, for example by creating grants.

§Safety

Capabilities can only be created in trusted crates that can use unsafe.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§