Skip to main content

PyMutexGuard

Type Alias PyMutexGuard 

Source
pub type PyMutexGuard<'a, T> = PyMutexGuard<'a, T>;
👎Deprecated since 0.30.0:

moved to pyo3::sync::PyMutexGuard

Available on Py_3_13 and non-Py_LIMITED_API only.
Expand description

Deprecated alias for crate::sync::PyMutexGuard.

Aliased Type§

pub struct PyMutexGuard<'a, T> {
    inner: &'a PyMutex<T>,
    poison: Guard,
    _phantom: PhantomData<*const ()>,
}

Fields§

§inner: &'a PyMutex<T>§poison: Guard§_phantom: PhantomData<*const ()>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here