pub trait ThreadLocalTryDropStrategy: TryDropStrategy + 'static { }Expand description
A trait which signifies an infallible try drop strategy which can be used in a thread local.
Trait Implementations§
Source§impl<T: ThreadLocalTryDropStrategy> From<T> for Box<dyn ThreadLocalTryDropStrategy>
impl<T: ThreadLocalTryDropStrategy> From<T> for Box<dyn ThreadLocalTryDropStrategy>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T: TryDropStrategy + 'static> ThreadLocalTryDropStrategy for T
Available on crate feature
thread-local only.