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§

source

fn ensure(&self)

source

fn check(&self) -> bool

source

fn can_drop(&self, py: Python<'_>) -> bool

source

fn new() -> Self

source

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.

Implementors§

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here