[−][src]Enum mini_haskell::utils::control::Result3
Result type for parsing.
Variants
succeed with a result
fail with an error, no recovery
fail without error, allowing future recovery
Trait Implementations
impl<T: Clone, E: Clone, M: Clone> Clone for Result3<T, E, M>[src]
impl<T: Copy, E: Copy, M: Copy> Copy for Result3<T, E, M>[src]
impl<T: Debug, E: Debug, M: Debug> Debug for Result3<T, E, M>[src]
impl<T, E, M> Either for Result3<T, E, M>[src]
type Left = M
The type to propagate in a Left.
type Right = Result3<T, E, Void>
The type to continue with in a Right.
fn left(m: M) -> Self[src]
fn right(x: Result3<T, E, Void>) -> Self[src]
fn into_result(self) -> Result<Result3<T, E, Void>, M>[src]
impl<T: Eq, E: Eq, M: Eq> Eq for Result3<T, E, M>[src]
impl<T, E> From<T> for Result3<T, E, Void>[src]
impl<T, E, M> Maybe for Result3<T, E, M>[src]
type Just = T
The success type in a Just.
fn just(x: T) -> Self[src]
fn is_just(&self) -> bool[src]
fn into_optional(self) -> Option<Self::Just>[src]
fn is_nothing(&self) -> bool[src]
impl<T: PartialEq, E: PartialEq, M: PartialEq> PartialEq<Result3<T, E, M>> for Result3<T, E, M>[src]
fn eq(&self, other: &Result3<T, E, M>) -> bool[src]
fn ne(&self, other: &Result3<T, E, M>) -> bool[src]
impl<T, E, M> StructuralEq for Result3<T, E, M>[src]
impl<T, E, M> StructuralPartialEq for Result3<T, E, M>[src]
Auto Trait Implementations
impl<T, E, M> RefUnwindSafe for Result3<T, E, M> where
E: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
E: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E, M> Send for Result3<T, E, M> where
E: Send,
M: Send,
T: Send,
E: Send,
M: Send,
T: Send,
impl<T, E, M> Sync for Result3<T, E, M> where
E: Sync,
M: Sync,
T: Sync,
E: Sync,
M: Sync,
T: Sync,
impl<T, E, M> Unpin for Result3<T, E, M> where
E: Unpin,
M: Unpin,
T: Unpin,
E: Unpin,
M: Unpin,
T: Unpin,
impl<T, E, M> UnwindSafe for Result3<T, E, M> where
E: UnwindSafe,
M: UnwindSafe,
T: UnwindSafe,
E: UnwindSafe,
M: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<!> for T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,