pub enum PointProcessError {
TooFewEvents {
min: usize,
got: usize,
},
NotFinite {
index: Option<usize>,
},
NotPositive {
index: Option<usize>,
got: f64,
},
Unordered {
index: usize,
},
AfterEnd {
index: usize,
},
}Expand description
Why event times were refused.
Variants§
TooFewEvents
Fewer events than the method needs.
NotFinite
An event time or the end of observation is NaN or infinite.
NotPositive
An event time or the end of observation is not greater than 0.
Fields
Unordered
An event time is earlier than the one before it.
AfterEnd
An event time is after the end of observation.
Trait Implementations§
Source§impl Clone for PointProcessError
impl Clone for PointProcessError
impl Copy for PointProcessError
Source§impl Debug for PointProcessError
impl Debug for PointProcessError
Source§impl Display for PointProcessError
impl Display for PointProcessError
Source§impl Error for PointProcessError
impl Error for PointProcessError
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()
Source§impl PartialEq for PointProcessError
impl PartialEq for PointProcessError
impl StructuralPartialEq for PointProcessError
Auto Trait Implementations§
impl Freeze for PointProcessError
impl RefUnwindSafe for PointProcessError
impl Send for PointProcessError
impl Sync for PointProcessError
impl Unpin for PointProcessError
impl UnsafeUnpin for PointProcessError
impl UnwindSafe for PointProcessError
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