Enum peresil::Status
[−]
[src]
pub enum Status<T, E> { Success(T), Failure(E), }
An analog to Result
, specialized for parsing.
Variants
Success(T)
Failure(E)
Trait Implementations
impl<T: PartialEq, E: PartialEq> PartialEq for Status<T, E>
[src]
fn eq(&self, __arg_0: &Status<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: &Status<T, E>) -> bool
This method tests for !=
.