pub enum ConfigError {
ParseError(String, String),
FileIOError(String, String),
FileNotFoundError(String),
SerializationError(String),
}
Expand description
Error type wrapping config errors.
Variants
ParseError(String, String)
Error with parsing of config file
FileIOError(String, String)
Error with fileIO while reading config file
FileNotFoundError(String)
No file found
SerializationError(String)
Error serializing config values
Trait Implementations
sourceimpl Debug for ConfigError
impl Debug for ConfigError
sourceimpl Display for ConfigError
impl Display for ConfigError
sourceimpl From<Error> for ConfigError
impl From<Error> for ConfigError
sourcefn from(error: Error) -> ConfigError
fn from(error: Error) -> ConfigError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl UnwindSafe for ConfigError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more