Enum combine::primitives::FastResult
[−]
[src]
pub enum FastResult<T, E> {
ConsumedOk(T),
EmptyOk(T),
ConsumedErr(E),
EmptyErr(E),
}Variants
ConsumedOk(T)EmptyOk(T)ConsumedErr(E)EmptyErr(E)Methods
impl<T, E> FastResult<T, E>[src]
fn as_ref(&self) -> FastResult<&T, &E>
fn and_then<F, T2>(self, f: F) -> F::Output where
F: FnOnce(T) -> FastResult<T2, E>,
F: FnOnce(T) -> FastResult<T2, E>,
Trait Implementations
impl<T: Clone, E: Clone> Clone for FastResult<T, E>[src]
fn clone(&self) -> FastResult<T, E>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T: PartialEq, E: PartialEq> PartialEq for FastResult<T, E>[src]
fn eq(&self, __arg_0: &FastResult<T, E>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FastResult<T, E>) -> bool
This method tests for !=.