pub struct MonitorTarget<'a> {
pub child: &'a mut Child,
pub pid: u32,
pub unit: &'a str,
pub holder: &'a str,
pub expires: UtcTime,
}Expand description
One worker under monitoring.
Fields§
§child: &'a mut Child§pid: u32§unit: &'a str§holder: &'a str§expires: UtcTimeAuto Trait Implementations§
impl<'a> !UnwindSafe for MonitorTarget<'a>
impl<'a> Forget for MonitorTarget<'a>
impl<'a> Freeze for MonitorTarget<'a>
impl<'a> Move for MonitorTarget<'a>
impl<'a> RefUnwindSafe for MonitorTarget<'a>
impl<'a> Send for MonitorTarget<'a>
impl<'a> Sync for MonitorTarget<'a>
impl<'a> Unpin for MonitorTarget<'a>
impl<'a> UnsafeUnpin for MonitorTarget<'a>
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