#[doc(hidden)] pub trait PyClassThreadChecker<T>: Sized {
// Required methods
fn ensure(&self);
fn check(&self) -> bool;
fn can_drop(&self, py: Python<'_>) -> bool;
fn new() -> Self;
fn __private__(&self) -> PrivateMarker;
}
Required Methods§
fn ensure(&self)
fn check(&self) -> bool
fn can_drop(&self, py: Python<'_>) -> bool
fn new() -> Self
Sourcefn __private__(&self) -> PrivateMarker
fn __private__(&self) -> PrivateMarker
This trait is private to implement; this method exists to make it impossible to implement outside the crate.
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.