pub struct PendingTask {
pub id: Uuid,
pub target: UnixNanos,
pub timeout: TimeoutPolicy,
}Expand description
A task that was not yet marked as ready.
Fields§
§id: UuidThe task’s ID.
target: UnixNanosThe task’s target timestamp.
timeout: TimeoutPolicyThe task’s timeout policy.
Trait Implementations§
Source§impl Clone for PendingTask
impl Clone for PendingTask
Source§fn clone(&self) -> PendingTask
fn clone(&self) -> PendingTask
Returns a duplicate of the value. Read more
1.0.0 · 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 PendingTask
impl Debug for PendingTask
Source§impl From<PendingTask> for ActiveTask
impl From<PendingTask> for ActiveTask
Source§fn from(value: PendingTask) -> Self
fn from(value: PendingTask) -> Self
Converts to this type from the input type.
impl Copy for PendingTask
Auto Trait Implementations§
impl Freeze for PendingTask
impl RefUnwindSafe for PendingTask
impl Send for PendingTask
impl Sync for PendingTask
impl Unpin for PendingTask
impl UnwindSafe for PendingTask
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