Enum malachite_base::unions::UnionFromStrError
source · [−]pub enum UnionFromStrError<E> {
Generic(String),
Specific(E),
}
Expand description
This is the error type for the unions’ FromStr
implementations.
Variants
Generic(String)
For when the union’s variant can’t be determined.
Specific(E)
For when the union’s variant can be determined but the wrapped value can’t be parsed.
Trait Implementations
sourceimpl<E: Clone> Clone for UnionFromStrError<E>
impl<E: Clone> Clone for UnionFromStrError<E>
sourcefn clone(&self) -> UnionFromStrError<E>
fn clone(&self) -> UnionFromStrError<E>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<E: Debug> Debug for UnionFromStrError<E>
impl<E: Debug> Debug for UnionFromStrError<E>
sourceimpl<E: Hash> Hash for UnionFromStrError<E>
impl<E: Hash> Hash for UnionFromStrError<E>
sourceimpl<E: PartialEq> PartialEq<UnionFromStrError<E>> for UnionFromStrError<E>
impl<E: PartialEq> PartialEq<UnionFromStrError<E>> for UnionFromStrError<E>
sourcefn eq(&self, other: &UnionFromStrError<E>) -> bool
fn eq(&self, other: &UnionFromStrError<E>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UnionFromStrError<E>) -> bool
fn ne(&self, other: &UnionFromStrError<E>) -> bool
This method tests for !=
.
impl<E: Eq> Eq for UnionFromStrError<E>
impl<E> StructuralEq for UnionFromStrError<E>
impl<E> StructuralPartialEq for UnionFromStrError<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for UnionFromStrError<E> where
E: RefUnwindSafe,
impl<E> Send for UnionFromStrError<E> where
E: Send,
impl<E> Sync for UnionFromStrError<E> where
E: Sync,
impl<E> Unpin for UnionFromStrError<E> where
E: Unpin,
impl<E> UnwindSafe for UnionFromStrError<E> where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more