inspect::VmoOptions

#include <component.h>

Options for publishing a VMO.

Summary

This spawns a fuchsia.inspect.Tree server whose content is this VMO. It does not support lazy nodes.

The only service method is a live VMO. If you prefer to have copy semantics, copy the VMO before serving. This is because copying the VMO could be expensive.

Public attributes

client_end = std::nullopt
std::optional< fidl::ClientEnd< fuchsia_inspect::InspectSink > >
Provide a fidl::ClientEnd, useful if fuchsia.inspect.InspectSink is not in the root namespace or is renamed.
tree_name = std::nullopt
std::optional< std::string >
Provide a name to appear in the tree's Inspect Metadata.

Public attributes

client_end

std::optional< fidl::ClientEnd< fuchsia_inspect::InspectSink > > inspect::VmoOptions::client_end = std::nullopt

Provide a fidl::ClientEnd, useful if fuchsia.inspect.InspectSink is not in the root namespace or is renamed.

tree_name

std::optional< std::string > inspect::VmoOptions::tree_name = std::nullopt

Provide a name to appear in the tree's Inspect Metadata.

By default, it will be `fuchsia.inspect::DEFAULT_TREE_NAME