pub enum FixedRateScheduleAdvanceError {
InvalidElapsed,
}Expand description
An elapsed-time update was rejected without changing the schedule.
Variants§
InvalidElapsed
The elapsed time is negative or not finite, the time it would reach is
not finite, or — for FixedRateSchedule::skip_elapsed — the next
sample after it cannot be represented apart from the skip’s end.
Trait Implementations§
impl Copy for FixedRateScheduleAdvanceError
impl Eq for FixedRateScheduleAdvanceError
Source§impl Error for FixedRateScheduleAdvanceError
impl Error for FixedRateScheduleAdvanceError
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()
impl StructuralPartialEq for FixedRateScheduleAdvanceError
Auto Trait Implementations§
impl Freeze for FixedRateScheduleAdvanceError
impl RefUnwindSafe for FixedRateScheduleAdvanceError
impl Send for FixedRateScheduleAdvanceError
impl Sync for FixedRateScheduleAdvanceError
impl Unpin for FixedRateScheduleAdvanceError
impl UnsafeUnpin for FixedRateScheduleAdvanceError
impl UnwindSafe for FixedRateScheduleAdvanceError
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