Skip to main content

Module cast_error

Module cast_error 

Source

Re-exportsยง

use alloc::borrow::Cow; ๐Ÿ”’
use crate::Borrowed; ๐Ÿ”’
use crate::Bound; ๐Ÿ”’
use crate::IntoPyObjectExt; ๐Ÿ”’
use crate::Py; ๐Ÿ”’
use crate::PyAny; ๐Ÿ”’
use crate::PyErr; ๐Ÿ”’
use crate::PyErrArguments; ๐Ÿ”’
use crate::PyTypeInfo; ๐Ÿ”’
use crate::Python; ๐Ÿ”’
use crate::exceptions; ๐Ÿ”’
use crate::types::PyAnyMethods; ๐Ÿ”’
use crate::types::PyNone; ๐Ÿ”’
use crate::types::PyStringMethods; ๐Ÿ”’
use crate::types::PyTuple; ๐Ÿ”’
use crate::types::PyTupleMethods; ๐Ÿ”’
use crate::types::PyType; ๐Ÿ”’
use crate::types::PyTypeMethods; ๐Ÿ”’
use crate::platform::prelude::*; ๐Ÿ”’

Structsยง

CastError
Error that indicates an object was not an instance of a given target type.
CastErrorArguments ๐Ÿ”’
CastIntoError
Equivalent to CastError for operations where the smart pointer cast transfers ownership of the original object.
DisplayCastError ๐Ÿ”’
DisplayClassInfo ๐Ÿ”’
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here