pub enum LoadConfigError {
IoError(Error),
TomlError(Error),
ConfigError(String),
}Variants§
Trait Implementations§
Source§impl Debug for LoadConfigError
impl Debug for LoadConfigError
Source§impl Display for LoadConfigError
impl Display for LoadConfigError
Source§impl Error for LoadConfigError
impl Error for LoadConfigError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for LoadConfigError
impl From<Error> for LoadConfigError
Auto Trait Implementations§
impl Freeze for LoadConfigError
impl !RefUnwindSafe for LoadConfigError
impl Send for LoadConfigError
impl Sync for LoadConfigError
impl Unpin for LoadConfigError
impl !UnwindSafe for LoadConfigError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes
Size for each variant:
IoError: 16 bytesTomlError: 96 bytesConfigError: 32 bytes