#[non_exhaustive]pub enum RunInterruptError {
ExpiryNotAfterRequest {
requested_at: Timestamp,
expires_at: Timestamp,
},
}Expand description
Invalid intrinsic timing for a run interrupt.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ExpiryNotAfterRequest
An exclusive expiry was not later than registration.
Trait Implementations§
Source§impl Clone for RunInterruptError
impl Clone for RunInterruptError
Source§impl Debug for RunInterruptError
impl Debug for RunInterruptError
Source§impl Display for RunInterruptError
impl Display for RunInterruptError
impl Eq for RunInterruptError
Source§impl Error for RunInterruptError
impl Error for RunInterruptError
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 RunInterruptError
impl PartialEq for RunInterruptError
impl StructuralPartialEq for RunInterruptError
Auto Trait Implementations§
impl Forget for RunInterruptError
impl Freeze for RunInterruptError
impl Move for RunInterruptError
impl RefUnwindSafe for RunInterruptError
impl Send for RunInterruptError
impl Sync for RunInterruptError
impl Unpin for RunInterruptError
impl UnsafeUnpin for RunInterruptError
impl UnwindSafe for RunInterruptError
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