Expand description
不可撤销的定时器
Implementations
sourceimpl<T, const N0: usize, const N: usize, const L: usize> Timer<T, N0, N, L>
impl<T, const N0: usize, const N: usize, const L: usize> Timer<T, N0, N, L>
sourcepub fn remove_count(&self) -> usize
pub fn remove_count(&self) -> usize
获得移除任务数量
sourcepub fn roll_count(&self) -> u64
pub fn roll_count(&self) -> u64
获得滚动次数
Trait Implementations
Auto Trait Implementations
impl<T, const N0: usize, const N: usize, const L: usize> RefUnwindSafe for Timer<T, N0, N, L> where
T: RefUnwindSafe,
impl<T, const N0: usize, const N: usize, const L: usize> Send for Timer<T, N0, N, L> where
T: Send,
impl<T, const N0: usize, const N: usize, const L: usize> Sync for Timer<T, N0, N, L> where
T: Sync,
impl<T, const N0: usize, const N: usize, const L: usize> Unpin for Timer<T, N0, N, L> where
T: Unpin,
impl<T, const N0: usize, const N: usize, const L: usize> UnwindSafe for Timer<T, N0, N, L> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more