pub enum TimerServiceError {
Store(StoreError),
Engine(EngineSeamError),
Deadline(String),
}Expand description
Errors returned by TimerService.
Variants§
Store(StoreError)
Durable timer storage or history inspection failed.
Engine(EngineSeamError)
Engine seam operation failed.
Deadline(String)
A reserved deadline:{run_id} timer fired but could not be routed to a
registered deadline handler (or the handler failed).
Never a silent generic fire: a deadline timer that reaches
TimerService::fire_timer without a handler — or whose handler errors —
surfaces here so the caller (live wheel or recover_due) observes the
failure rather than recording a spurious TimerFired.
Trait Implementations§
Source§impl Clone for TimerServiceError
impl Clone for TimerServiceError
Source§fn clone(&self) -> TimerServiceError
fn clone(&self) -> TimerServiceError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimerServiceError
impl Debug for TimerServiceError
Source§impl Display for TimerServiceError
impl Display for TimerServiceError
impl Eq for TimerServiceError
Source§impl Error for TimerServiceError
impl Error for TimerServiceError
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 From<EngineSeamError> for TimerServiceError
impl From<EngineSeamError> for TimerServiceError
Source§fn from(source: EngineSeamError) -> Self
fn from(source: EngineSeamError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for TimerServiceError
impl From<StoreError> for TimerServiceError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<TimerServiceError> for SleepTimerError
impl From<TimerServiceError> for SleepTimerError
Source§fn from(source: TimerServiceError) -> Self
fn from(source: TimerServiceError) -> Self
Converts to this type from the input type.
Source§impl From<TimerServiceError> for TimerRecoveryError
impl From<TimerServiceError> for TimerRecoveryError
Source§fn from(source: TimerServiceError) -> Self
fn from(source: TimerServiceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimerServiceError
impl PartialEq for TimerServiceError
impl StructuralPartialEq for TimerServiceError
Auto Trait Implementations§
impl Freeze for TimerServiceError
impl RefUnwindSafe for TimerServiceError
impl Send for TimerServiceError
impl Sync for TimerServiceError
impl Unpin for TimerServiceError
impl UnsafeUnpin for TimerServiceError
impl UnwindSafe for TimerServiceError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.