Enum ini_merge::merge::MergeError
source · #[non_exhaustive]pub enum MergeError {
TargetLoad(Box<dyn Error + Send + Sync + 'static>),
SourceLoad(Box<dyn Error + Send + Sync + 'static>),
TransformerError {
transformer: String,
section: String,
key: String,
reason: String,
},
}Expand description
Error type for INI merger
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TargetLoad(Box<dyn Error + Send + Sync + 'static>)
An error while loading the target INI
SourceLoad(Box<dyn Error + Send + Sync + 'static>)
An error while loading the source INI
TransformerError
A transformer reported an error
Trait Implementations§
source§impl Debug for MergeError
impl Debug for MergeError
source§impl Display for MergeError
impl Display for MergeError
source§impl Error for MergeError
impl Error for MergeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for MergeError
impl Send for MergeError
impl Sync for MergeError
impl Unpin for MergeError
impl !UnwindSafe for MergeError
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