Enum peresil::Status [] [src]

pub enum Status<T, E> {
    Success(T),
    Failure(E),
}

An analog to Result, specialized for parsing.

Variants

Trait Implementations

impl<T: Debug, E: Debug> Debug for Status<T, E>
[src]

Formats the value using the given formatter.

impl<T: PartialEq, E: PartialEq> PartialEq for Status<T, E>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.