pub struct StatusEvent {
pub id: TaskId,
pub pool: PoolId,
pub key: Option<Arc<str>>,
pub status: TaskStatus,
pub attempt: u32,
pub at: Time,
pub message: Option<Arc<str>>,
}Expand description
Status transition event.
Fields§
§id: TaskIdTask id.
pool: PoolIdPool of the task.
key: Option<Arc<str>>Idempotency key, if any.
status: TaskStatusNew status.
attempt: u32Attempts made so far.
at: TimeEngine time of the transition.
message: Option<Arc<str>>Error or reason, if any.
Trait Implementations§
Source§impl Clone for StatusEvent
impl Clone for StatusEvent
Source§impl Debug for StatusEvent
impl Debug for StatusEvent
Source§impl PartialEq for StatusEvent
impl PartialEq for StatusEvent
impl StructuralPartialEq for StatusEvent
Auto Trait Implementations§
impl Freeze for StatusEvent
impl RefUnwindSafe for StatusEvent
impl Send for StatusEvent
impl Sync for StatusEvent
impl Unpin for StatusEvent
impl UnsafeUnpin for StatusEvent
impl UnwindSafe for StatusEvent
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