pub trait PropertySetting {
const NAME: &'static str;
// Required methods
fn setting_name(&self) -> String;
fn from_str(value: &str) -> Result<Self, Box<dyn Error>>
where Self: Sized;
}
Required Associated Constants§
Required Methods§
fn setting_name(&self) -> String
fn from_str(value: &str) -> Result<Self, Box<dyn Error>>where
Self: Sized,
Object Safety§
This trait is not object safe.