Skip to main content

read_controls

Function read_controls 

Source
pub fn read_controls(
    model: &Model,
    kind: ControlKind,
) -> ControlResult<Vec<Control<'_>>>
Expand description

Every control of kind in model, in file order, read against its declared release.

ยงErrors

Those of read_control except the identity refusals: the first record of kind that does not fit its release fails the whole call rather than being skipped.