pub enum Outcome {
Normalized(Normalized),
Ambiguous(Ambiguous),
NoMatch {
reason: NoMatchReason,
},
}Expand description
The honest return type: a match, several readings, or nothing — never a silent guess.
Variants§
Normalized(Normalized)
One deterministic answer.
Ambiguous(Ambiguous)
More than one plausible reading; the caller decides.
NoMatch
No answer, with the reason a triage step needs — this crate will not guess.
Fields
§
reason: NoMatchReasonWhy nothing was produced.
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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