Skip to main content

parse_sentinel_config

Function parse_sentinel_config 

Source
pub fn parse_sentinel_config(
    toml_str: &str,
) -> Result<SentinelConfig, SentinelConfigError>
Expand description

Deserialize a SentinelConfig from its TOML representation.

ยงErrors

Returns an error when the TOML does not satisfy the SentinelConfig schema.