Struct RiskError
#[repr(transparent)]pub struct RiskError(pub(crate) PyAny);Expand description
A risk pass failed in valuation or adjoint read-back.
Tuple Fields§
§0: PyAnyImplementations§
Trait Implementations§
impl DerefToPyAny for RiskError
§impl PyTypeInfo for RiskError
impl PyTypeInfo for RiskError
§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 RiskError
Auto Trait Implementations§
impl !Freeze for RiskError
impl !RefUnwindSafe for RiskError
impl !Send for RiskError
impl !Sync for RiskError
impl Unpin for RiskError
impl UnsafeUnpin for RiskError
impl UnwindSafe for RiskError
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