Enum delay_timer::error::TaskInstanceError
source · pub enum TaskInstanceError {
DisSend(TrySendError<TimerEvent>),
DisGetEvent(TryRecvError),
DisCancel,
DisCancelTimeOut,
MisEventSender,
InternalChannelAnomaly(RecvError),
Expired,
}
Expand description
Error enumeration for TaskInstance
-related operations.
Variants§
DisSend(TrySendError<TimerEvent>)
TaskInstance sending failure.
DisGetEvent(TryRecvError)
TaskInstance event get failed.
DisCancel
TaskInstance cancel failure.
DisCancelTimeOut
TaskInstance cancel TimeOut.
MisEventSender
Missing event sender timer_event_sender
.
InternalChannelAnomaly(RecvError)
Internal channel communication abnormality.
Expired
Running instance of the task is no longer maintained.
Trait Implementations§
source§impl Debug for TaskInstanceError
impl Debug for TaskInstanceError
source§impl Display for TaskInstanceError
impl Display for TaskInstanceError
source§impl Error for TaskInstanceError
impl Error for TaskInstanceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<RecvError> for TaskInstanceError
impl From<RecvError> for TaskInstanceError
source§impl From<TryRecvError> for TaskInstanceError
impl From<TryRecvError> for TaskInstanceError
source§impl From<TrySendError<TimerEvent>> for TaskInstanceError
impl From<TrySendError<TimerEvent>> for TaskInstanceError
source§fn from(source: TrySendError<TimerEvent>) -> Self
fn from(source: TrySendError<TimerEvent>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TaskInstanceError
impl Send for TaskInstanceError
impl Sync for TaskInstanceError
impl Unpin for TaskInstanceError
impl !UnwindSafe for TaskInstanceError
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