Skip to main content

Module gc

Module gc 

Source

Structsยง

PyClassTraverseGuard ๐Ÿ”’
Variant of crate::PyClassGuard that is used during __traverse__ calls to ensure that only gc-safe operations are performed on the class instance.
PyTraverseError
Error returned by a __traverse__ visitor implementation.
PyVisit
Object visitor for GC.

Functionsยง

make_traverse_result ๐Ÿ”’
Cast the return value of a visitproc to a Result<(), PyTraverseError>.
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here