pub enum SentinelProbe {
NoAgentDir,
Owned,
Free(File),
}Expand description
What probe_sentinel found on an agent’s running.sentinel.
Variants§
NoAgentDir
The agent directory does not exist, so there is nothing to clear.
Owned
A live process owns it — or the probe could not tell, which counts the same: keeping a dead runtime’s files costs one manual clear, deleting a live one’s state is #790.
Free(File)
The caller now holds its flock and it names no live pid. The handle keeps the flock until dropped; the dead pid it recorded is erased.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SentinelProbe
impl Freeze for SentinelProbe
impl Move for SentinelProbe
impl RefUnwindSafe for SentinelProbe
impl Send for SentinelProbe
impl Sync for SentinelProbe
impl Unpin for SentinelProbe
impl UnsafeUnpin for SentinelProbe
impl UnwindSafe for SentinelProbe
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