pub struct ToolKillHandle { /* private fields */ }Expand description
Force-stop handle for IsolatedKillable / Abortable workers (D-024).
Implementations§
Source§impl ToolKillHandle
impl ToolKillHandle
Sourcepub fn new(abort: AbortHandle) -> Self
pub fn new(abort: AbortHandle) -> Self
Wrap a Tokio task abort handle.
Trait Implementations§
Source§impl Clone for ToolKillHandle
impl Clone for ToolKillHandle
Source§fn clone(&self) -> ToolKillHandle
fn clone(&self) -> ToolKillHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolKillHandle
impl RefUnwindSafe for ToolKillHandle
impl Send for ToolKillHandle
impl Sync for ToolKillHandle
impl Unpin for ToolKillHandle
impl UnsafeUnpin for ToolKillHandle
impl UnwindSafe for ToolKillHandle
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