Function limits_from_toml_path
pub fn limits_from_toml_path(path: &str) -> Result<BrokerLimits, ConfigError>Expand description
Reads the [tbank] section of a limits file on disk.
§Errors
[ConfigError::Message] when the file cannot be read (the message names the path), and for
every reason limits_from_toml_str lists.
§Examples
let err = brokapi_tbank::limits::limits_from_toml_path("/no/such/limits.toml").unwrap_err();
assert!(err.to_string().contains("/no/such/limits.toml"));