pub enum IndexerConfigError {
EnvVarParseError(VarError),
ConfigFileError(Error),
SerdeYamlError(Error),
InvalidUriError(InvalidUri),
ParseError(ParseError),
}
Expand description
Error type returned by configuration operations.
Variants§
EnvVarParseError(VarError)
ConfigFileError(Error)
SerdeYamlError(Error)
InvalidUriError(InvalidUri)
ParseError(ParseError)
Trait Implementations§
source§impl Debug for IndexerConfigError
impl Debug for IndexerConfigError
source§impl Display for IndexerConfigError
impl Display for IndexerConfigError
source§impl Error for IndexerConfigError
impl Error for IndexerConfigError
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<Error> for IndexerConfigError
impl From<Error> for IndexerConfigError
source§impl From<Error> for IndexerConfigError
impl From<Error> for IndexerConfigError
source§impl From<InvalidUri> for IndexerConfigError
impl From<InvalidUri> for IndexerConfigError
source§fn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for IndexerConfigError
impl From<ParseError> for IndexerConfigError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IndexerConfigError
impl Send for IndexerConfigError
impl Sync for IndexerConfigError
impl Unpin for IndexerConfigError
impl !UnwindSafe for IndexerConfigError
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