Trait FiniteAutomata

Source
pub trait FiniteAutomata<T>: Sized {
    type State;
    type Item: Debug + PartialEq + Eq + 'static;

    // Required method
    fn get_next(self, c: Self::Item) -> GetNextResult<T, Self>;
}

Required Associated Types§

Source

type State

A data type which holds state under the trie

Source

type Item: Debug + PartialEq + Eq + 'static

Required Methods§

Source

fn get_next(self, c: Self::Item) -> GetNextResult<T, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§