Trait zone_alloc::StrongHandle
source · pub trait StrongHandle: From<Handle> {
// Required method
fn handle(&self) -> Handle;
}
Expand description
A strong handle to data registered in a specific StrongRegistry
.
Strong handles are useful for separating handles from different registries. A handle from one strong registry cannot be used for a different strong registry because the handle type is statically enforced at compile time.
Required Methods§
Object Safety§
This trait is not object safe.