Trait pyo3::impl_::pyclass::PyClassThreadChecker
source · #[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.
Object Safety§
This trait is not object safe.