Skip to main content

Checked

Type Alias Checked 

Source
pub type Checked = Result<Vec<Violation>, String>;
Expand description

What a check produced, in the only shape the server needs.

Aliased Type§

pub enum Checked {
    Ok(Vec<Violation>),
    Err(String),
}

Variants§

§1.0.0

Ok(Vec<Violation>)

Contains the success value

§1.0.0

Err(String)

Contains the error value