A RAII pool which PyO3 uses to store owned Python references.
Create a new
GILPool. This function should only ever be called with the GIL.
It is recommended not to use this API directly, but instead to use
that guarantees the GIL is held.
As well as requiring the GIL, see the notes on
Get the Python token associated with this
Auto Trait Implementations
impl !RefUnwindSafe for GILPool
impl UnwindSafe for GILPool
type Error = Infallible
The type returned in the event of a conversion error.