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§
Trait Implementations§
source§impl Debug for CompareResult
impl Debug for CompareResult
source§impl PartialEq<CompareResult> for CompareResult
impl PartialEq<CompareResult> for CompareResult
source§fn eq(&self, other: &CompareResult) -> bool
fn eq(&self, other: &CompareResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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