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§

source

fn handle(&self) -> Handle

Returns the associated handle.

Object Safety§

This trait is not object safe.

Implementors§