pub enum StopError {
MissingColumn {
raw: String,
},
Comparison {
raw: String,
source: ComparisonError,
},
NonFiniteThreshold {
raw: String,
},
UnknownColumn {
column: String,
known: Vec<String>,
},
}Expand description
A stop condition that cannot be read or bound.
Variants§
MissingColumn
A condition with nothing before its comparator.
Comparison
A condition whose comparison cannot be read.
Fields
§
source: ComparisonErrorReason the comparison cannot be read.
NonFiniteThreshold
A condition built with a threshold that is infinite or NaN.
UnknownColumn
A column that no stat series produces.
Trait Implementations§
impl Eq for StopError
Source§impl Error for StopError
impl Error for StopError
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()
impl StructuralPartialEq for StopError
Auto Trait Implementations§
impl Freeze for StopError
impl RefUnwindSafe for StopError
impl Send for StopError
impl Sync for StopError
impl Unpin for StopError
impl UnsafeUnpin for StopError
impl UnwindSafe for StopError
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