pub struct SupervisorHandle { /* private fields */ }Expand description
Handle to a running supervisor loop.
Returned by Pool::start_supervisor. Dropping the handle does not
stop the loop — call SupervisorHandle::stop
explicitly.
Implementations§
Auto Trait Implementations§
impl Freeze for SupervisorHandle
impl !RefUnwindSafe for SupervisorHandle
impl Send for SupervisorHandle
impl Sync for SupervisorHandle
impl Unpin for SupervisorHandle
impl UnsafeUnpin for SupervisorHandle
impl !UnwindSafe for SupervisorHandle
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