Struct CurveError
#[repr(transparent)]pub struct CurveError(pub(crate) PyAny);Expand description
A curve could not be built or could not answer a query.
Tuple Fields§
§0: PyAnyImplementations§
§impl CurveError
impl CurveError
§impl CurveError
impl CurveError
pub(crate) fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Trait Implementations§
§impl AsRef<PyAny> for CurveError
impl AsRef<PyAny> for CurveError
§impl Deref for CurveError
impl Deref for CurveError
impl DerefToPyAny for CurveError
§impl PyTypeInfo for CurveError
impl PyTypeInfo for CurveError
§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 CurveError
Auto Trait Implementations§
impl !Freeze for CurveError
impl !RefUnwindSafe for CurveError
impl !Send for CurveError
impl !Sync for CurveError
impl Unpin for CurveError
impl UnsafeUnpin for CurveError
impl UnwindSafe for CurveError
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