pub struct InterruptHandle { /* private fields */ }Expand description
A cloneable handle to interrupt the in-flight turn of an agent run.
Implementations§
Trait Implementations§
Source§impl Clone for InterruptHandle
impl Clone for InterruptHandle
Source§fn clone(&self) -> InterruptHandle
fn clone(&self) -> InterruptHandle
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 InterruptHandle
impl RefUnwindSafe for InterruptHandle
impl Send for InterruptHandle
impl Sync for InterruptHandle
impl Unpin for InterruptHandle
impl UnsafeUnpin for InterruptHandle
impl UnwindSafe for InterruptHandle
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