pub enum MemoryConfigError {
ConfigEnvVarNameEmpty,
EnvVarParseError(String),
EnvVarValueTooLow(u64, u64),
EnvVarValueTooHigh(u64, u64),
EnvVarNotSet(String),
}Expand description
Definition of errors which can be encountered during memory_config_check
Variants§
ConfigEnvVarNameEmpty
environment variable is not configured in .toml configuration file
EnvVarParseError(String)
result of environment variable value request could not be parsed to numeric value
EnvVarValueTooLow(u64, u64)
environment variable value is lower than configured minimum value
EnvVarValueTooHigh(u64, u64)
environment variable value is higher than configured maximum value
EnvVarNotSet(String)
environment variable is not set
Trait Implementations§
Source§impl Debug for MemoryConfigError
impl Debug for MemoryConfigError
Source§impl Display for MemoryConfigError
impl Display for MemoryConfigError
Source§impl Error for MemoryConfigError
impl Error for MemoryConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MemoryConfigError
impl RefUnwindSafe for MemoryConfigError
impl Send for MemoryConfigError
impl Sync for MemoryConfigError
impl Unpin for MemoryConfigError
impl UnwindSafe for MemoryConfigError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more