Trait DestroyedState

Source
pub unsafe trait DestroyedState: Sized {
    // Required method
    fn register_dtor<T>(s: &Storage<T, Self>);
}
🔬This is a nightly-only experimental API. (thread_local_internals)

Required Methods§

Source

fn register_dtor<T>(s: &Storage<T, Self>)

🔬This is a nightly-only experimental API. (thread_local_internals)

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.

Implementors§