pub enum VldConfigError {
Source(String),
Validation(VldError),
}Expand description
Error type for config validation.
Variants§
Source(String)
Failed to extract/deserialize config into JSON.
Validation(VldError)
Validation failed — contains all vld validation issues.
Trait Implementations§
Source§impl Debug for VldConfigError
impl Debug for VldConfigError
Source§impl Display for VldConfigError
impl Display for VldConfigError
Source§impl Error for VldConfigError
impl Error for VldConfigError
1.30.0 · 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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for VldConfigError
impl RefUnwindSafe for VldConfigError
impl Send for VldConfigError
impl Sync for VldConfigError
impl Unpin for VldConfigError
impl UnsafeUnpin for VldConfigError
impl UnwindSafe for VldConfigError
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