pub enum GetNextResult<T, FA: FiniteAutomata<T>> {
Result {
result: T,
ate_item: bool,
},
NewState(FA),
InvalidItem(InvalidItem<FA::Item>),
}
Expand description
Where ‘T’ is the type the stateful trie returns TODO the result should be only on the first result not the second …
Variants§
Trait Implementations§
Source§impl<T: Debug, FA: Debug + FiniteAutomata<T>> Debug for GetNextResult<T, FA>
impl<T: Debug, FA: Debug + FiniteAutomata<T>> Debug for GetNextResult<T, FA>
Source§impl<T: PartialEq, FA: PartialEq + FiniteAutomata<T>> PartialEq for GetNextResult<T, FA>
impl<T: PartialEq, FA: PartialEq + FiniteAutomata<T>> PartialEq for GetNextResult<T, FA>
impl<T: Eq, FA: Eq + FiniteAutomata<T>> Eq for GetNextResult<T, FA>
impl<T, FA: FiniteAutomata<T>> StructuralPartialEq for GetNextResult<T, FA>
Auto Trait Implementations§
impl<T, FA> Freeze for GetNextResult<T, FA>
impl<T, FA> RefUnwindSafe for GetNextResult<T, FA>
impl<T, FA> Send for GetNextResult<T, FA>
impl<T, FA> Sync for GetNextResult<T, FA>
impl<T, FA> Unpin for GetNextResult<T, FA>
impl<T, FA> UnwindSafe for GetNextResult<T, FA>
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