Enum nom::CompareResult
source · [−]pub enum CompareResult {
Ok,
Incomplete,
Error,
}
Expand description
Indicates whether a comparison was successful, an error, or if more data was needed
Variants
Ok
Comparison was successful
Incomplete
We need more data to be sure
Error
Comparison failed
Trait Implementations
sourceimpl Debug for CompareResult
impl Debug for CompareResult
sourceimpl PartialEq<CompareResult> for CompareResult
impl PartialEq<CompareResult> for CompareResult
impl StructuralPartialEq for CompareResult
Auto Trait Implementations
impl RefUnwindSafe for CompareResult
impl Send for CompareResult
impl Sync for CompareResult
impl Unpin for CompareResult
impl UnwindSafe for CompareResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more