pub enum Result<T, I, F> {
Ok(T, I),
Err,
Fatal(F),
}Variants§
Ok(T, I)
Parsing completed successfully
Err
Recoverable error meaning “input cannot be parsed with the current parser”
Fatal(F)
Unrecoverable error meaning “input cannot be parsed with any parser”
Implementations§
Trait Implementations§
impl<T: Eq, I: Eq, F: Eq> Eq for Result<T, I, F>
impl<T, I, F> StructuralPartialEq for Result<T, I, F>
Auto Trait Implementations§
impl<T, I, F> Freeze for Result<T, I, F>
impl<T, I, F> RefUnwindSafe for Result<T, I, F>
impl<T, I, F> Send for Result<T, I, F>
impl<T, I, F> Sync for Result<T, I, F>
impl<T, I, F> Unpin for Result<T, I, F>
impl<T, I, F> UnwindSafe for Result<T, I, F>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more