pub enum ConfigExprError {
InvalidOperator(String),
FieldNotFound(String),
RegexError(Error),
JsonError(Error),
ValidationError(String),
}
Expand description
配置表达式错误类型
Variants§
InvalidOperator(String)
FieldNotFound(String)
RegexError(Error)
JsonError(Error)
ValidationError(String)
Trait Implementations§
Source§impl Debug for ConfigExprError
impl Debug for ConfigExprError
Source§impl Display for ConfigExprError
impl Display for ConfigExprError
Source§impl Error for ConfigExprError
impl Error for ConfigExprError
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()
Source§impl From<Error> for ConfigExprError
impl From<Error> for ConfigExprError
Auto Trait Implementations§
impl Freeze for ConfigExprError
impl !RefUnwindSafe for ConfigExprError
impl Send for ConfigExprError
impl Sync for ConfigExprError
impl Unpin for ConfigExprError
impl !UnwindSafe for ConfigExprError
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