pub enum ReloadConfigError {
MissingConfigPath,
Load(ConfigLoadError),
Validate(BuildError),
}Expand description
Errors emitted while reloading controller TOML config.
Variants§
MissingConfigPath
Reload requested but no config path is configured.
Load(ConfigLoadError)
Loading/parsing TOML config failed.
Validate(BuildError)
Parsed config produced an invalid activation template.
Trait Implementations§
Source§impl Debug for ReloadConfigError
impl Debug for ReloadConfigError
Source§impl Display for ReloadConfigError
impl Display for ReloadConfigError
Source§impl Error for ReloadConfigError
impl Error for ReloadConfigError
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 ReloadConfigError
impl !RefUnwindSafe for ReloadConfigError
impl Send for ReloadConfigError
impl Sync for ReloadConfigError
impl Unpin for ReloadConfigError
impl UnsafeUnpin for ReloadConfigError
impl !UnwindSafe for ReloadConfigError
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