pub struct CancellationMap { /* private fields */ }Expand description
任务取消追踪结构 Task cancellation tracking structure
对应 Go asynq 的 internal/base/base.go 中的 Cancellations Corresponds to Cancellations in Go asynq’s internal/base/base.go
Implementations§
Trait Implementations§
Source§impl Clone for CancellationMap
impl Clone for CancellationMap
Source§fn clone(&self) -> CancellationMap
fn clone(&self) -> CancellationMap
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 moreAuto Trait Implementations§
impl Freeze for CancellationMap
impl RefUnwindSafe for CancellationMap
impl Send for CancellationMap
impl Sync for CancellationMap
impl Unpin for CancellationMap
impl UnsafeUnpin for CancellationMap
impl UnwindSafe for CancellationMap
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