Crate inspect_runtime
source ·Expand description
Inspect Runtime
This library contains the necessary functions to serve inspect from a component.
Modules
Implementation of the
fuchsia.inspect.Tree
protocol server.Constants
Directory within the outgoing directory of a component where the diagnostics service should be
added.
Functions
Creates the outgoing diagnostics directory. Should be added to the component’s outgoing
directory at
DIAGNOSTICS_DIR
. Use serve
if the component’s outgoing directory is served by
ServiceFs
.Creates the outgoing diagnostics directory with options. Should be added to the component’s
outgoing directory at
DIAGNOSTICS_DIR
. Use serve_with_options
if the component’s outgoing
directory is served by ServiceFs
.Spawns a server for handling
fuchsia.inspect.Tree
requests in the outgoing diagnostics
directory.Spawns a server with options for handling
fuchsia.inspect.Tree
requests in
the outgoing diagnostics directory.