pub enum ResolverErrorKind {
EnvNotFound {
var_name: String,
},
FileNotFound {
path: String,
},
HttpError {
url: String,
status: Option<u16>,
},
HttpDisabled,
HttpNotAllowed {
url: String,
},
RefNotFound {
ref_path: String,
},
UnknownResolver {
name: String,
},
Custom {
resolver: String,
message: String,
},
}Expand description
Specific resolver error categories
Variants§
EnvNotFound
Environment variable not found
FileNotFound
File not found
HttpError
HTTP request failed
HttpDisabled
HTTP resolver is disabled
HttpNotAllowed
URL not in allowlist
RefNotFound
Referenced config path not found
UnknownResolver
Unknown resolver
Custom
Resolver returned an error
Trait Implementations§
Source§impl Clone for ResolverErrorKind
impl Clone for ResolverErrorKind
Source§fn clone(&self) -> ResolverErrorKind
fn clone(&self) -> ResolverErrorKind
Returns a duplicate 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 ResolverErrorKind
impl Debug for ResolverErrorKind
Source§impl PartialEq for ResolverErrorKind
impl PartialEq for ResolverErrorKind
impl Eq for ResolverErrorKind
impl StructuralPartialEq for ResolverErrorKind
Auto Trait Implementations§
impl Freeze for ResolverErrorKind
impl RefUnwindSafe for ResolverErrorKind
impl Send for ResolverErrorKind
impl Sync for ResolverErrorKind
impl Unpin for ResolverErrorKind
impl UnwindSafe for ResolverErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.