Enum glory_core::config::GloryConfigError
source · pub enum GloryConfigError {
ConfigNotFound,
ConfigSectionNotFound,
EnvError,
ConfigError(String),
EnvVarError(String),
}Variants§
Trait Implementations§
source§impl Clone for GloryConfigError
impl Clone for GloryConfigError
source§fn clone(&self) -> GloryConfigError
fn clone(&self) -> GloryConfigError
Returns a copy of the value. Read more
1.0.0 · 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 GloryConfigError
impl Debug for GloryConfigError
source§impl Display for GloryConfigError
impl Display for GloryConfigError
source§impl Error for GloryConfigError
impl Error for GloryConfigError
1.30.0 · 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()
source§impl From<AddrParseError> for GloryConfigError
impl From<AddrParseError> for GloryConfigError
source§fn from(e: AddrParseError) -> Self
fn from(e: AddrParseError) -> Self
Converts to this type from the input type.
source§impl From<ConfigError> for GloryConfigError
impl From<ConfigError> for GloryConfigError
source§fn from(e: ConfigError) -> Self
fn from(e: ConfigError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for GloryConfigError
impl From<ParseIntError> for GloryConfigError
source§fn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for GloryConfigError
impl Send for GloryConfigError
impl Sync for GloryConfigError
impl Unpin for GloryConfigError
impl UnwindSafe for GloryConfigError
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