Struct SourceError
#[repr(transparent)]pub struct SourceError(pub(crate) PyAny);Expand description
A market-data, recipe or calendar source itself failed — transport, authentication, a payload it could not read — as distinct from a key it does not hold.
Tuple Fields§
§0: PyAnyImplementations§
§impl SourceError
impl SourceError
§impl SourceError
impl SourceError
pub(crate) fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Trait Implementations§
§impl AsRef<PyAny> for SourceError
impl AsRef<PyAny> for SourceError
§impl Deref for SourceError
impl Deref for SourceError
impl DerefToPyAny for SourceError
§impl PyTypeInfo for SourceError
impl PyTypeInfo for SourceError
§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
§fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type or a subclass of this type.§fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type.impl ToPyErr for SourceError
Auto Trait Implementations§
impl !Freeze for SourceError
impl !RefUnwindSafe for SourceError
impl !Send for SourceError
impl !Sync for SourceError
impl Unpin for SourceError
impl UnsafeUnpin for SourceError
impl UnwindSafe for SourceError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more