#[doc(hidden)] pub trait PyClassThreadChecker<T>: Sized + Sealed {
// Required methods
fn ensure(&self);
fn check(&self) -> bool;
fn can_drop(&self, py: Python<'_>) -> bool;
fn new() -> Self;
}
Required Methods§
fn ensure(&self)
fn check(&self) -> bool
fn can_drop(&self, py: Python<'_>) -> bool
fn new() -> Self
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.