pub struct Config {Show 18 fields
pub debug: Option<bool>,
pub list_children_batch_size: Option<u32>,
pub security_policy: Option<SecurityPolicy>,
pub namespace_capabilities: Option<Vec<Capability>>,
pub use_builtin_process_launcher: Option<bool>,
pub maintain_utc_clock: Option<bool>,
pub num_threads: Option<u32>,
pub root_component_url: Option<String>,
pub component_id_index_path: Option<String>,
pub log_destination: Option<LogDestination>,
pub log_all_events: Option<bool>,
pub builtin_boot_resolver: Option<BuiltinBootResolver>,
pub realm_builder_resolver_and_runner: Option<RealmBuilderResolverAndRunner>,
pub builtin_capabilities: Option<Vec<Capability>>,
pub enable_introspection: Option<bool>,
pub abi_revision_policy: Option<AbiRevisionPolicy>,
pub vmex_source: Option<VmexSource>,
pub health_check: Option<HealthCheck>,
/* private fields */
}
Fields§
§debug: Option<bool>
If true, component manager will be in debug mode. In this mode, component manager
provides the EventSource
protocol and exposes this protocol. Component
manager will not start until it is resumed by a call to
EventSource.StartComponentTree
.
This is done so that an external component (say an integration test) can subscribe to events before the root component has started.
list_children_batch_size: Option<u32>
How many children, maximum, are returned by a call to Realm.ChildIterator.next()
.
security_policy: Option<SecurityPolicy>
Security policy configuration.
namespace_capabilities: Option<Vec<Capability>>
Capabilities offered from component manager’s namespace.
use_builtin_process_launcher: Option<bool>
If true, component_manager will serve an instance of fuchsia.process.Launcher and use this
launcher for the built-in ELF component runner. The root component can additionally
use and/or offer this service using /builtin/fuchsia.process.Launcher
from realm.
This flag exists because the built-in process launcher only works when
component_manager runs under a job that has ZX_POL_NEW_PROCESS set to allow, like the root
job. Otherwise, the component_manager process cannot directly create process through
zx_process_create. When we run component_manager elsewhere, like in test environments, it
has to use the fuchsia.process.Launcher service provided through its namespace instead.
maintain_utc_clock: Option<bool>
If true, component_manager will maintain a UTC kernel clock and vend write handles through
an instance of fuchsia.time.Maintenance
. This flag should only be used with the top-level
component_manager.
num_threads: Option<u32>
The number of threads to use for running component_manager’s executor. If not present, interpreted as 1.
root_component_url: Option<String>
URL of the root component to launch. This field is used if the no URL is passed to component manager. If value is passed in both places, then an error is raised.
component_id_index_path: Option<String>
Path to the component ID index. An empty value defaults to an empty index. An invalid index causes component_manager to abort.
log_destination: Option<LogDestination>
Where to log to.
log_all_events: Option<bool>
If true, component manager will log all events dispatched in the topology.
builtin_boot_resolver: Option<BuiltinBootResolver>
Which builtin resolver to use for the fuchsia-boot scheme. If not present, interpreted as BuiltinBootResolver.NONE.
realm_builder_resolver_and_runner: Option<RealmBuilderResolverAndRunner>
If and how the realm builder resolver and runner will be used. Typically these capabilities from realm builder are available to a nested component manager that is undergoing an integration test.
builtin_capabilities: Option<Vec<Capability>>
Capabilities offered from component manager as built-in capabilities.
enable_introspection: Option<bool>
Enables Component Manager’s introspection APIs (RealmQuery, RealmExplorer, RouteValidator, LifecycleController, etc.) for use by components.
abi_revision_policy: Option<AbiRevisionPolicy>
The enforcement and validation policy to apply to component target ABI revisions.
vmex_source: Option<VmexSource>
Where to obtain the vmex resource from, if this component_manager is hosting bootfs.
If not present, defaults to VmexSource::SYSTEM_RESOURCE
.
health_check: Option<HealthCheck>
Information about the health checks during the update process.
Trait Implementations§
Source§impl<D: ResourceDialect> Decode<Config, D> for Config
impl<D: ResourceDialect> Decode<Config, D> for Config
Source§impl TypeMarker for Config
impl TypeMarker for Config
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for Config
impl ValueTypeMarker for Config
impl Persistable for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)