Struct num_complex::ParseComplexError
source · pub struct ParseComplexError<E> {
pub(crate) kind: ComplexErrorKind<E>,
}
Fields§
§kind: ComplexErrorKind<E>
Implementations§
source§impl<E> ParseComplexError<E>
impl<E> ParseComplexError<E>
pub(crate) fn new() -> Self
pub(crate) fn from_error(error: E) -> Self
Trait Implementations§
source§impl<E: Debug> Debug for ParseComplexError<E>
impl<E: Debug> Debug for ParseComplexError<E>
source§impl<E: Display> Display for ParseComplexError<E>
impl<E: Display> Display for ParseComplexError<E>
source§impl<E: Error> Error for ParseComplexError<E>
impl<E: Error> Error for ParseComplexError<E>
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl<E: PartialEq> PartialEq for ParseComplexError<E>
impl<E: PartialEq> PartialEq for ParseComplexError<E>
source§fn eq(&self, other: &ParseComplexError<E>) -> bool
fn eq(&self, other: &ParseComplexError<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E> StructuralPartialEq for ParseComplexError<E>
Auto Trait Implementations§
impl<E> Freeze for ParseComplexError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ParseComplexError<E>where
E: RefUnwindSafe,
impl<E> Send for ParseComplexError<E>where
E: Send,
impl<E> Sync for ParseComplexError<E>where
E: Sync,
impl<E> Unpin for ParseComplexError<E>where
E: Unpin,
impl<E> UnwindSafe for ParseComplexError<E>where
E: UnwindSafe,
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