validate_yubihsm2_config_connections

Function validate_yubihsm2_config_connections 

Source
fn validate_yubihsm2_config_connections(
    value: &BTreeSet<YubiHsmConnection>,
    _context: &(),
) -> Result
Expand description

Validates a set of YubiHsmConnection objects.

Ensures that value is not empty.

ยงErrors

Returns an error if value is empty.