Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    cmd: &Command,
    status: &PrinterStatus,
    baseline_print_error: Option<i64>,
) -> EffectStatus
Expand description

Evaluate a command’s effect against the current status, given the baseline_print_error captured before the command was sent (so only a new error is reported, not a pre-existing one).