pub enum UpError {
Oops {
message: String,
},
GoOn {
go_on: Vec<String>,
},
}
Expand description
Parsing couldn’t continue.
Variants§
Oops
Parse error.
GoOn
Suggestions to append to the current input which would make parsing succeed. You should only return this when you’re at the end of the input.
Trait Implementations§
impl Eq for UpError
impl StructuralPartialEq for UpError
Auto Trait Implementations§
impl Freeze for UpError
impl RefUnwindSafe for UpError
impl Send for UpError
impl Sync for UpError
impl Unpin for UpError
impl UnwindSafe for UpError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more