Struct delay_timer::timer::task::Task [−][src]
Fields
task_id: u64Unique task-id.
Implementations
impl Task[src]
pub fn get_maximum_running_time(&self, start_time: u64) -> Option<u64>[src]
pub fn check_arrived(&mut self) -> bool[src]
check if task has arrived.
pub fn is_already(&self) -> bool[src]
check if task has already.
pub fn is_can_running(&self) -> bool[src]
check if task has runable status.
pub fn is_valid(&self) -> bool[src]
check if task has valid status.
pub fn get_next_exec_timestamp(&mut self) -> u64[src]
get_next_exec_timestamp
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Task[src]
impl Send for Task[src]
impl Sync for Task[src]
impl Unpin for Task[src]
impl !UnwindSafe for Task[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,