Struct PricingError
#[repr(transparent)]pub struct PricingError(pub(crate) PyAny);Expand description
A valuation could not be produced from the market it was given.
Tuple Fields§
§0: PyAnyImplementations§
§impl PricingError
impl PricingError
§impl PricingError
impl PricingError
pub(crate) fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Trait Implementations§
§impl AsRef<PyAny> for PricingError
impl AsRef<PyAny> for PricingError
§impl Deref for PricingError
impl Deref for PricingError
impl DerefToPyAny for PricingError
§impl PyTypeInfo for PricingError
impl PyTypeInfo for PricingError
§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 PricingError
Auto Trait Implementations§
impl !Freeze for PricingError
impl !RefUnwindSafe for PricingError
impl !Send for PricingError
impl !Sync for PricingError
impl Unpin for PricingError
impl UnsafeUnpin for PricingError
impl UnwindSafe for PricingError
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