#[non_exhaustive]pub struct ConfigFileError {
pub code: String,
pub message: String,
pub layer: Option<ConfigFileErrorLayer>,
pub path: Option<String>,
}Expand description
A settings-file observation failure, separate from the approved settings status.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: String§message: String§layer: Option<ConfigFileErrorLayer>§path: Option<String>The absolute file path resolved by the daemon, when known.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigFileError
impl Clone for ConfigFileError
Source§fn clone(&self) -> ConfigFileError
fn clone(&self) -> ConfigFileError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigFileError
impl Debug for ConfigFileError
Source§impl Default for ConfigFileError
impl Default for ConfigFileError
Source§fn default() -> ConfigFileError
fn default() -> ConfigFileError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigFileError
impl<'de> Deserialize<'de> for ConfigFileError
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfigFileError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfigFileError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConfigFileError
Source§impl PartialEq for ConfigFileError
impl PartialEq for ConfigFileError
Source§impl Serialize for ConfigFileError
impl Serialize for ConfigFileError
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConfigFileError
Auto Trait Implementations§
impl Forget for ConfigFileError
impl Freeze for ConfigFileError
impl Move for ConfigFileError
impl RefUnwindSafe for ConfigFileError
impl Send for ConfigFileError
impl Sync for ConfigFileError
impl Unpin for ConfigFileError
impl UnsafeUnpin for ConfigFileError
impl UnwindSafe for ConfigFileError
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