pub struct OperatorHandle { /* private fields */ }Expand description
A handle to a potentially running operator, which allows for shutting it down
Implementations§
Source§impl OperatorHandle
impl OperatorHandle
pub fn shutdown_now(self)
pub fn is_active(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OperatorHandle
impl RefUnwindSafe for OperatorHandle
impl Send for OperatorHandle
impl Sync for OperatorHandle
impl Unpin for OperatorHandle
impl UnwindSafe for OperatorHandle
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