pub struct HealthEvent {
pub node: &'static TaskNode,
pub kind: HealthKind,
}Expand description
One observation from Supervisor::monitor, delivered through
wait_health.
Fields§
§node: &'static TaskNodeThe node the observation is about.
kind: HealthKindWhat was observed.
Trait Implementations§
Source§impl Clone for HealthEvent
impl Clone for HealthEvent
Source§fn clone(&self) -> HealthEvent
fn clone(&self) -> HealthEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HealthEvent
Auto Trait Implementations§
impl !RefUnwindSafe for HealthEvent
impl !UnwindSafe for HealthEvent
impl Freeze for HealthEvent
impl Send for HealthEvent
impl Sync for HealthEvent
impl Unpin for HealthEvent
impl UnsafeUnpin for HealthEvent
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