Struct fuchsia_inspect::health::Node
source · pub struct Node { /* private fields */ }
Expand description
Contains subsystem health information. A global instance of Health is used implicitly
if the user calls the functions init()
, ok()
and unhealthy(...)
.
Use as: ```fuchsia_inspect::health::Node``.
Implementations§
Trait Implementations§
source§impl Reporter for Node
impl Reporter for Node
source§fn set_starting_up(&mut self)
fn set_starting_up(&mut self)
Sets the health status to STARTING_UP
.
source§fn set_unhealthy(&mut self, message: &str)
fn set_unhealthy(&mut self, message: &str)
Sets the health status to UNHEALTHY
. A message
that explains why the node is healthy
MUST be given.
impl InspectType for Node
Auto Trait Implementations§
impl Freeze for Node
impl !RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl !UnwindSafe for Node
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