pub struct TimerResult {
pub error: Option<Error>,
pub next: Option<i64>,
}Expand description
定时任务执行后的调度结果。
Fields§
§error: Option<Error>任务执行业务错误;存在时会记录警告日志。
next: Option<i64>下次执行的毫秒时间戳;未指定时使用宏声明的间隔。
Implementations§
Auto Trait Implementations§
impl Freeze for TimerResult
impl RefUnwindSafe for TimerResult
impl Send for TimerResult
impl Sync for TimerResult
impl Unpin for TimerResult
impl UnsafeUnpin for TimerResult
impl UnwindSafe for TimerResult
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