pub enum ReducerError {
MissingKind {
raw: String,
},
UnknownKind {
raw: String,
},
Comparison {
raw: String,
source: ComparisonError,
},
BadWindow {
raw: String,
},
UnknownColumn {
column: String,
known: Vec<String>,
},
}Expand description
A reducer that cannot be read or bound.
Variants§
MissingKind
A reducer with no : between the column and the kind.
UnknownKind
A kind no reducer has.
Comparison
A first kind whose comparison cannot be read.
Fields
§
raw: StringKind as written, or as ReducerKind’s Display writes it.
§
source: ComparisonErrorReason the comparison is rejected.
BadWindow
A mean@ kind whose window is not START..END, with START at most END.
Fields
§
raw: StringKind as written, or as ReducerKind’s Display writes it.
UnknownColumn
A column that no stat series produces.
Trait Implementations§
Source§impl Clone for ReducerError
impl Clone for ReducerError
Source§impl Debug for ReducerError
impl Debug for ReducerError
Source§impl Display for ReducerError
impl Display for ReducerError
impl Eq for ReducerError
Source§impl Error for ReducerError
impl Error for ReducerError
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 PartialEq for ReducerError
impl PartialEq for ReducerError
impl StructuralPartialEq for ReducerError
Auto Trait Implementations§
impl Freeze for ReducerError
impl RefUnwindSafe for ReducerError
impl Send for ReducerError
impl Sync for ReducerError
impl Unpin for ReducerError
impl UnsafeUnpin for ReducerError
impl UnwindSafe for ReducerError
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