pub struct ZeroScalarError;Expand description
Returned when asserting a MaybeScalar is not zero, or converting from a MaybeScalar to a Scalar.
Trait Implementations§
Source§impl Debug for ZeroScalarError
impl Debug for ZeroScalarError
Source§impl Display for ZeroScalarError
impl Display for ZeroScalarError
Source§impl Error for ZeroScalarError
impl Error for ZeroScalarError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ZeroScalarError
impl PartialEq for ZeroScalarError
impl Eq for ZeroScalarError
impl StructuralPartialEq for ZeroScalarError
Auto Trait Implementations§
impl Freeze for ZeroScalarError
impl RefUnwindSafe for ZeroScalarError
impl Send for ZeroScalarError
impl Sync for ZeroScalarError
impl Unpin for ZeroScalarError
impl UnwindSafe for ZeroScalarError
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