pub struct BusyGuard { /* private fields */ }Expand description
Keeps the app’s /ping at HealthyBusy while it is alive. Get one from
AgentCoreApp::track_task. The work is
released when the guard drops, which also happens when a task holding it is
aborted or panics.
Trait Implementations§
Auto Trait Implementations§
impl Forget for BusyGuard
impl Freeze for BusyGuard
impl Move for BusyGuard
impl RefUnwindSafe for BusyGuard
impl Send for BusyGuard
impl Sync for BusyGuard
impl Unpin for BusyGuard
impl UnsafeUnpin for BusyGuard
impl UnwindSafe for BusyGuardwhere
Arc<Busy>: UnwindSafe,
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