StateHandler

Trait StateHandler 

Source
pub trait StateHandler:
    Send
    + Sync
    + Debug {
    // Required methods
    fn can_handle(&self, state: &ParseState) -> bool;
    fn handle(&self, state: &mut ParseState) -> Result<bool, FuzzyJsonError>;
}

Required Methods§

Source

fn can_handle(&self, state: &ParseState) -> bool

Source

fn handle(&self, state: &mut ParseState) -> Result<bool, FuzzyJsonError>

Implementors§