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
Auto 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