pub struct DueTask {
pub task_id: String,
pub task_type: String,
pub payload: Vec<u8>,
pub retry_count: u32,
pub max_retries: u32,
pub timeout_secs: u64,
}Expand description
A task that is due to run.
Fields§
§task_id: StringTask identifier.
task_type: StringTask type.
payload: Vec<u8>Task payload.
retry_count: u32Current retry count.
max_retries: u32Maximum retries.
timeout_secs: u64Timeout in seconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DueTask
impl RefUnwindSafe for DueTask
impl Send for DueTask
impl Sync for DueTask
impl Unpin for DueTask
impl UnsafeUnpin for DueTask
impl UnwindSafe for DueTask
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