[−][src]Trait pyo3::type_object::PyTypeObject
Python object types that have a corresponding type object.
This trait is marked unsafe because not fulfilling the contract for type_object leads to UB.
See [PyTypeInfo::type_object]
Required methods
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
Implementors
impl PyTypeObject for CancelledError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for IncompleteReadError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for InvalidStateError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for LimitOverrunError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for QueueEmpty
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for QueueFull
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for pyo3::exceptions::asyncio::TimeoutError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for gaierror
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for herror
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for timeout
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ArithmeticError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for AssertionError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for AttributeError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for BaseException
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for BlockingIOError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for BrokenPipeError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for BufferError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ChildProcessError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ConnectionAbortedError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ConnectionError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ConnectionRefusedError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ConnectionResetError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for EOFError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for EnvironmentError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for Exception
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for FileExistsError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for FileNotFoundError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for FloatingPointError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for GeneratorExit
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for IOError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ImportError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for IndexError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for InterruptedError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for IsADirectoryError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for KeyError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for KeyboardInterrupt
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for LookupError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for MemoryError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ModuleNotFoundError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for NameError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for NotADirectoryError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for NotImplementedError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for OSError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for OverflowError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for PermissionError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ProcessLookupError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for RecursionError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ReferenceError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for RuntimeError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for StopAsyncIteration
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for StopIteration
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for SyntaxError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for SystemError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for SystemExit
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for pyo3::exceptions::TimeoutError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for TypeError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for UnboundLocalError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for UnicodeDecodeError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for UnicodeEncodeError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for UnicodeError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for UnicodeTranslateError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ValueError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for ZeroDivisionError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for PanicException
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for PyBorrowError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl PyTypeObject for PyBorrowMutError
[src]
fn type_object(py: Python<'_>) -> &PyType
[src]
impl<T> PyTypeObject for T where
T: PyTypeInfo,
[src]
T: PyTypeInfo,