pub enum OVConfigError {
BadValue {
section: String,
key: String,
value: String,
},
ParseConfigError(ParseError),
ParseValueError(Error),
IoError(Error),
}
Variants§
Trait Implementations§
Source§impl Debug for OVConfigError
impl Debug for OVConfigError
Source§impl Display for OVConfigError
impl Display for OVConfigError
Source§impl Fail for OVConfigError
impl Fail for OVConfigError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<Error> for OVConfigError
impl From<Error> for OVConfigError
Source§fn from(e: Error) -> OVConfigError
fn from(e: Error) -> OVConfigError
Converts to this type from the input type.
Source§impl From<Error> for OVConfigError
impl From<Error> for OVConfigError
Source§fn from(e: Error) -> OVConfigError
fn from(e: Error) -> OVConfigError
Converts to this type from the input type.
Source§impl From<Error> for OVConfigError
impl From<Error> for OVConfigError
Source§fn from(e: Error) -> OVConfigError
fn from(e: Error) -> OVConfigError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OVConfigError
impl !RefUnwindSafe for OVConfigError
impl Send for OVConfigError
impl Sync for OVConfigError
impl Unpin for OVConfigError
impl !UnwindSafe for OVConfigError
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