pub struct ConfigIssue {
pub severity: Severity,
pub module: &'static str,
pub message: String,
}Expand description
A single validation issue found in a module’s configuration.
Returned by ModuleConfig::validate. The CLI collects these from all
modules and presents them to the user (in mcpr validate or on startup).
Fields§
§severity: SeverityWhether this issue prevents startup or is just a warning.
module: &'static strWhich module reported the issue (e.g., “store”, “cloud”, “tunnel”). Matches the TOML section name so the user knows where to look.
message: StringHuman-readable description of what’s wrong and how to fix it.
Trait Implementations§
Source§impl Clone for ConfigIssue
impl Clone for ConfigIssue
Source§fn clone(&self) -> ConfigIssue
fn clone(&self) -> ConfigIssue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigIssue
impl Debug for ConfigIssue
Auto Trait Implementations§
impl Freeze for ConfigIssue
impl RefUnwindSafe for ConfigIssue
impl Send for ConfigIssue
impl Sync for ConfigIssue
impl Unpin for ConfigIssue
impl UnsafeUnpin for ConfigIssue
impl UnwindSafe for ConfigIssue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.