pub trait BaseConfig:
Default
+ Serialize
+ for<'de> Deserialize<'de>
+ Clone
+ Send
+ Sync {
// Required methods
fn validate(&self) -> MCPResult<()>;
fn config_name(&self) -> &'static str;
}Expand description
Base configuration trait that all config structs should implement
Required Methods§
Sourcefn config_name(&self) -> &'static str
fn config_name(&self) -> &'static str
Get configuration name for logging/debugging
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.