Type Alias CallbackResult

Source
pub type CallbackResult = Result<ParseAction, String>;
Expand description

Result of a callback function.

Aliased Type§

pub enum CallbackResult {
    Ok(ParseAction),
    Err(String),
}

Variants§

§1.0.0

Ok(ParseAction)

Contains the success value

§1.0.0

Err(String)

Contains the error value