pub enum RobustnessMode {
Debug,
Normal,
Strict,
}Variants§
Trait Implementations§
Source§impl Clone for RobustnessMode
impl Clone for RobustnessMode
Source§fn clone(&self) -> RobustnessMode
fn clone(&self) -> RobustnessMode
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 RobustnessMode
impl Debug for RobustnessMode
Source§impl Default for RobustnessMode
impl Default for RobustnessMode
Source§fn default() -> RobustnessMode
fn default() -> RobustnessMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RobustnessMode
impl<'de> Deserialize<'de> for RobustnessMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RobustnessMode
impl Display for RobustnessMode
Source§impl From<&str> for RobustnessMode
impl From<&str> for RobustnessMode
Source§impl PartialEq for RobustnessMode
impl PartialEq for RobustnessMode
Source§impl Serialize for RobustnessMode
impl Serialize for RobustnessMode
impl StructuralPartialEq for RobustnessMode
Auto Trait Implementations§
impl Freeze for RobustnessMode
impl RefUnwindSafe for RobustnessMode
impl Send for RobustnessMode
impl Sync for RobustnessMode
impl Unpin for RobustnessMode
impl UnwindSafe for RobustnessMode
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> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
Source§fn from_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_conf() instead
fn save_conf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn load_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
fn load_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn save_conf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
Source§impl<T> EnvTomlLoad<T> for Twhere
T: DeserializeOwned,
impl<T> EnvTomlLoad<T> for Twhere
T: DeserializeOwned,
fn env_load_toml( path: &Path, dict: &ValueDict, ) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> TextConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> TextConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
Source§fn from_valconf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_valconf(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_valconf() instead
fn save_valconf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn load_valconf(path: &Path) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> TextConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> TextConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
fn load_valconf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn save_valconf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
Source§impl<T> TomlIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> TomlIO<T> for Twhere
T: DeserializeOwned + Serialize,
Source§fn from_toml(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_toml(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_toml() instead
fn save_toml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn load_toml(path: &Path) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> TomlIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> TomlIO<T> for Twhere
T: DeserializeOwned + Serialize,
fn load_toml(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn save_toml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
Source§impl<T> YamlIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> YamlIO<T> for Twhere
T: DeserializeOwned + Serialize,
Source§fn from_yaml(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_yaml(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_yaml() instead
fn save_yaml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn load_yaml(path: &Path) -> Result<T, StructError<ConfIOReason>>
Source§fn from_yml(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_yml(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_yaml() instead
Source§fn save_yml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn save_yml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use save_yaml() instead