#[non_exhaustive]pub enum PartialParseState {
UndefinedInput,
SuccessfulParse,
RepairedParse,
FailedParse,
}Expand description
How a partial parse succeeded or failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UndefinedInput
No input was provided.
SuccessfulParse
The input parsed as-is.
RepairedParse
The input parsed after repair.
FailedParse
The input could not be parsed even after repair.
Trait Implementations§
Source§impl Clone for PartialParseState
impl Clone for PartialParseState
Source§fn clone(&self) -> PartialParseState
fn clone(&self) -> PartialParseState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PartialParseState
Source§impl Debug for PartialParseState
impl Debug for PartialParseState
impl Eq for PartialParseState
Source§impl Hash for PartialParseState
impl Hash for PartialParseState
Source§impl PartialEq for PartialParseState
impl PartialEq for PartialParseState
impl StructuralPartialEq for PartialParseState
Auto Trait Implementations§
impl Freeze for PartialParseState
impl RefUnwindSafe for PartialParseState
impl Send for PartialParseState
impl Sync for PartialParseState
impl Unpin for PartialParseState
impl UnsafeUnpin for PartialParseState
impl UnwindSafe for PartialParseState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.