fuchsia.sys2

Added: 7

PROTOCOLS

CrashIntrospect

Defined in fuchsia.sys2/crash_introspect.fidl

When a thread from a component using the ELF runner crashes, the thread koid along with other information is stored. This protocol can be used to retrieve that stored information.

FindComponentByThreadKoid

Given a thread koid, returns the information that was stored when the ELF runner observed a crash from that thread.

The information for a crash is deleted when it is accessed or when 10 minutes have passed, whichever comes first.

If there is no information available on the given thread koid, zx::Status::NOT_FOUND is returned.

Request

NameType
thread_koid zx/Koid

Response

NameType
payload CrashIntrospect_FindComponentByThreadKoid_Result

InstanceIterator

Defined in fuchsia.sys2/realm.fidl

An iterator over all instances in the realm

Added: 11

Next

Request

<EMPTY>

Response

NameType
infos vector<Instance>

LifecycleController

Defined in fuchsia.sys2/lifecycle_controller.fidl

Mutates the component instance state in a realm.

CreateInstance

Creates a new child instance identified by the given moniker. Relative monikers must start with "./".

The function returns once the child instance has been added to the topology.

Added: 11

Request

NameType
parent_moniker string[4096]
collection fuchsia.component.decl/CollectionRef
decl fuchsia.component.decl/Child
args fuchsia.component/CreateChildArgs

Response

NameType
payload LifecycleController_CreateInstance_Result

DestroyInstance

Destroys the instance identified by the given moniker. Relative monikers must start with "./".

The function returns once the child instance no longer exists in the topology.

Added: 11

Request

NameType
parent_moniker string[4096]
child fuchsia.component.decl/ChildRef

Response

NameType
payload LifecycleController_DestroyInstance_Result

ResolveInstance

Resolves the instance identified by the given moniker. Relative monikers must start with "./".

The function returns once the instance has been resolved.

Added: 11

Request

NameType
moniker string[4096]

Response

NameType
payload LifecycleController_ResolveInstance_Result

StartInstance

Starts the instance identified by the given moniker. Relative monikers must start with "./".

The client can pass in the server end of a channel for the fuchsia.component.Binder protocol. This protocol will notify the client when the instance has stopped.

The function returns once the instance has been started. Calling StartInstance() when the instance is already running is a no-op, but it will connect the Binder channel if a valid handle is provided.

Added: 11

Request

NameType
moniker string[4096]
binder server_end<fuchsia.component/Binder>

Response

NameType
payload LifecycleController_StartInstance_Result

StopInstance

Stops the instance identified by the given moniker. Relative monikers must start with "./".

The function returns once the instance has been stopped.

Added: 11

Request

NameType
moniker string[4096]

Response

NameType
payload LifecycleController_StopInstance_Result

UnresolveInstance

Unresolves the component designated by the provided moniker. Relative monikers must start with "./".

The function returns once the instance has been unresolved.

Added: 11

Request

NameType
moniker string[4096]

Response

NameType
payload LifecycleController_UnresolveInstance_Result

ManifestBytesIterator

Defined in fuchsia.sys2/realm.fidl

An iterator over the bytes of an instance's manifest

Added: 11

Next

Request

<EMPTY>

Response

NameType
infos vector<uint8>

RealmExplorer

Defined in fuchsia.sys2/realm.fidl

Offers basic introspection into component instances under a realm.

RealmQuery

Defined in fuchsia.sys2/realm.fidl

Offers detailed introspection into component instances under a realm.

ConnectToStorageAdmin

Connects to the StorageAdmin protocol of a storage declared by an instance.

Added: 11

Request

NameType
moniker string[4096]
storage_name fuchsia.component.decl/name
server_end server_end<StorageAdmin>

Response

NameType
payload RealmQuery_ConnectToStorageAdmin_Result

ConstructNamespace

Constructs the namespace of an instance as determined by its use declarations. This is usually identical to what would be given to the component's runner on component start time, unless extended by fuchsia.component/StartChildArgs.namespace_entries.

Added: 11

Request

NameType
moniker string[4096]

Response

NameType
payload RealmQuery_ConstructNamespace_Result

GetAllInstances

Returns an iterator over all component instances in this realm and instances within resolved children, recursively. Unresolved child components will be included in this list, but children of unresolved children will not be.

Added: 11

Request

<EMPTY>

Response

NameType
payload RealmQuery_GetAllInstances_Result

GetInstance

Gets an instance identified by its moniker.

Added: 11

Request

NameType
moniker string[4096]

Response

NameType
payload RealmQuery_GetInstance_Result

GetManifest

Prefer GetResolvedDeclaration if available for your target API level.

Added: 11

Request

NameType
moniker string[4096]

Response

NameType
payload RealmQuery_GetManifest_Result

GetResolvedDeclaration

Gets the manifest of an instance identified by its moniker.

The manifest is encoded in its standalone persistable format per RFC-0120 and is sent across using an iterator. Some manifests are too large to send over a Zircon channel and we can't use a VMO because we need an approach that is compatible with overnet.

Added: 13

Request

NameType
moniker string[4096]

Response

NameType
payload RealmQuery_GetResolvedDeclaration_Result

GetStructuredConfig

Gets the structured config of an instance identified by its moniker.

Added: 13

Request

NameType
moniker string[4096]

Response

NameType
payload RealmQuery_GetStructuredConfig_Result

Open

Makes an fuchsia.io.Directory/Open call on a directory in an instance.

Added: 11

Request

NameType
moniker string[4096]
dir_type OpenDirType
flags fuchsia.io/OpenFlags
mode fuchsia.io/ModeType
path string[4095]
object server_end<fuchsia.io/Node>

Response

NameType
payload RealmQuery_Open_Result

ResolveDeclaration

Gets the manifest of a component URL as if it were a child of the specified parent without actually creating or starting that component.

The manifest is encoded in its standalone persistable format per RFC-0120 and is sent across using an iterator. Some manifests are too large to send over a Zircon channel and we can't use a VMO because we need an approach that is compatible with overnet.

Added: 12

Request

NameType
parent string[4096]
child_location ChildLocation
url fuchsia.url/Url

Response

NameType
payload RealmQuery_ResolveDeclaration_Result

RouteValidator

Defined in fuchsia.sys2/route_validator.fidl

Route

Routes a component's used or exposed capabilities, and returns information about them.

If targets is empty, returns results for all the component's used and exposed capabilities. Otherwise, returns only results for capabilities specified in targets.

This method only supports routing namespace capabilities (protocols, directories, services, and storage).

Errors:

  • INVALID_ARGUMENTS: The given moniker or name is not valid, or name is not a namespace capability.
  • INSTANCE_NOT_FOUND: No instance was found matching the given moniker.
  • RESOURCE_NOT_FOUND: No capability was found matching one of the given names.
Added: 12

Request

NameType
moniker string[4096]
targets vector<RouteTarget>

Response

NameType
payload RouteValidator_Route_Result

Validate

Routes all incoming and exposed capabilities of a component identified by the given moniker. If the routing failed, an error is returned in the response. This function may cause components to be resolved.

Errors:

  • INVALID_ARGUMENTS: The given moniker is not valid.
  • INSTANCE_NOT_FOUND: No instance was found matching the given moniker.

Request

NameType
moniker string[4096]

Response

NameType
payload RouteValidator_Validate_Result

StorageAdmin

Defined in fuchsia.sys2/storage_admin.fidl

DeleteAllStorageContents

Deletes the contents of all the storage. Storage directories are retained so any components using storage will be able to continue using it to create new files and directories. Returns fuchsia.component.Error::INTERNAL only if no storage at all could be cleared. Returns successfully even if some errors happen during the deletion progress.

Request

<EMPTY>

Response

NameType
payload StorageAdmin_DeleteAllStorageContents_Result

DeleteComponentStorage

Deletes the contents of the storage for this component. The moniker can be a regular moniker (ie, "foo/bar") or a moniker with internal instance IDs (unusual, ie, "foo:0/bar:0"). Preserves the component's subdirectory itself within the storage backing directory.

Request

NameType
relative_moniker string[4096]

Response

NameType
payload StorageAdmin_DeleteComponentStorage_Result

GetStatus

Get the current status of the storage.

Request

<EMPTY>

Response

NameType
payload StorageAdmin_GetStatus_Result

ListStorageInRealm

Lists the descendant components under the specified realm that use the storage capability. Returns INSTANCE_NOT_FOUND if the realm does not exist, and INVALID_ARGS if |relative_moniker| is malformed.

Request

NameType
relative_moniker string[4096]
iterator server_end<StorageIterator>

Response

NameType
payload StorageAdmin_ListStorageInRealm_Result

OpenComponentStorage

Opens the isolated directory for the given component. The open request will provision the storage if it hasn't been already.

Request

NameType
relative_moniker string[4096]
flags fuchsia.io/OpenFlags
mode fuchsia.io/ModeType
object server_end<fuchsia.io/Node>

OpenComponentStorageById

Opens the isolated directory for the given storage ID. The open request will provision the storage if it hasn't been already.

Request

NameType
id string[64]
object server_end<fuchsia.io/Node>

Response

NameType
payload StorageAdmin_OpenComponentStorageById_Result

StorageIterator

Defined in fuchsia.sys2/storage_admin.fidl

An iterator protocol for returning a set of components using a storage capability. See |StorageAdmin.ListStorageInRealm| for more information.

Next

Retrieve the next set of components using the storage capability. The returned monikers are relative to the component that declares the storage capability. Returns an empty vector after all components have been returned.

Request

<EMPTY>

Response

NameType
relative_monikers vector<string>

SystemController

Defined in fuchsia.sys2/system_controller.fidl

An interface implemented by ComponentManager that requests the ComponentManager stop all components and exit.

Shutdown

Stop all components, return an empty result, close this protocol's channel, and exit ComponentManager. If this is the root ComponentManager is exited we expect the system will reboot.

Request

<EMPTY>

Response

<EMPTY>

STRUCTS

CrashIntrospect_FindComponentByThreadKoid_Response

Defined in fuchsia.sys2/crash_introspect.fidl

FieldTypeDescriptionDefault
info ComponentCrashInfo No default

LifecycleController_CreateInstance_Response

Defined in fuchsia.sys2/lifecycle_controller.fidl

<EMPTY>

LifecycleController_DestroyInstance_Response

Defined in fuchsia.sys2/lifecycle_controller.fidl

<EMPTY>

LifecycleController_ResolveInstance_Response

Defined in fuchsia.sys2/lifecycle_controller.fidl

<EMPTY>

LifecycleController_StartInstance_Response

Defined in fuchsia.sys2/lifecycle_controller.fidl

<EMPTY>

LifecycleController_StopInstance_Response

Defined in fuchsia.sys2/lifecycle_controller.fidl

<EMPTY>

LifecycleController_UnresolveInstance_Response

Defined in fuchsia.sys2/lifecycle_controller.fidl

<EMPTY>

RealmQuery_ConnectToStorageAdmin_Response

Defined in fuchsia.sys2/realm.fidl

<EMPTY>

RealmQuery_ConstructNamespace_Response resource

Defined in fuchsia.sys2/realm.fidl

FieldTypeDescriptionDefault
namespace vector<fuchsia.component.runner/ComponentNamespaceEntry>

The directory handles + paths that constitute the component's namespace.

No default

RealmQuery_GetAllInstances_Response resource

Defined in fuchsia.sys2/realm.fidl

FieldTypeDescriptionDefault
iterator InstanceIterator No default

RealmQuery_GetInstance_Response

Defined in fuchsia.sys2/realm.fidl

FieldTypeDescriptionDefault
instance Instance No default

RealmQuery_GetManifest_Response resource

Defined in fuchsia.sys2/realm.fidl

FieldTypeDescriptionDefault
iterator ManifestBytesIterator No default

RealmQuery_GetResolvedDeclaration_Response resource

Defined in fuchsia.sys2/realm.fidl

FieldTypeDescriptionDefault
iterator ManifestBytesIterator No default

RealmQuery_GetStructuredConfig_Response

Defined in fuchsia.sys2/realm.fidl

FieldTypeDescriptionDefault
config fuchsia.component.decl/ResolvedConfig No default

RealmQuery_Open_Response

Defined in fuchsia.sys2/realm.fidl

<EMPTY>

RealmQuery_ResolveDeclaration_Response resource

Defined in fuchsia.sys2/realm.fidl

FieldTypeDescriptionDefault
iterator ManifestBytesIterator No default

RouteTarget

Defined in fuchsia.sys2/route_validator.fidl

A capability in a target component to route to the source.

Added: 12

FieldTypeDescriptionDefault
name fuchsia.component/name

The capability name to match (this is not the path). Supports fuzzy matching by substring.

No default
decl_type DeclType

Whether the capability is a used by the component or exposed from it.

No default

RouteValidator_Route_Response

Defined in fuchsia.sys2/route_validator.fidl

FieldTypeDescriptionDefault
reports vector<RouteReport> No default

RouteValidator_Validate_Response

Defined in fuchsia.sys2/route_validator.fidl

FieldTypeDescriptionDefault
reports vector<RouteReport> No default

StorageAdmin_DeleteAllStorageContents_Response

Defined in fuchsia.sys2/storage_admin.fidl

<EMPTY>

StorageAdmin_DeleteComponentStorage_Response

Defined in fuchsia.sys2/storage_admin.fidl

<EMPTY>

StorageAdmin_ListStorageInRealm_Response

Defined in fuchsia.sys2/storage_admin.fidl

<EMPTY>

StorageAdmin_OpenComponentStorageById_Response

Defined in fuchsia.sys2/storage_admin.fidl

<EMPTY>

ENUMS

ConnectToStorageAdminError flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

Errors that can be returned by the ConnectToStorageAdmin call.

NameValueDescription
1

Could not find an instance matching the given moniker.

2

The given moniker could not be parsed.

3

The instance does not define a storage capability with the given name.

4

This operation requires the instance to be resolved.

5

The given storage capability could not be parsed.

ConstructNamespaceError flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

Errors that can be returned by the ConstructNamespace call.

NameValueDescription
1

Could not find an instance matching the given moniker.

2

The given moniker could not be parsed.

3

Namespace construction requires the instance to be resolved.

CreateError flexible

Type: uint32

Defined in fuchsia.sys2/lifecycle_controller.fidl

Added: 11

NameValueDescription
1
2
3
4
5
6
7
8
10

DeclType flexible

Type: uint32

Defined in fuchsia.sys2/route_validator.fidl

NameValueDescription
1

The capability comes from a use declaration in the component's manifest. It will be available in the namespace of the component instance.

2

The capability comes from an expose declaration in the component's manifest.

3

A capability that could be either a use or expose declaration. Used in inputs only, for fuzzy matching.

DeletionError strict

Type: uint32

Defined in fuchsia.sys2/storage_admin.fidl

NameValueDescription
1

There was an error sending a request to the storage provider.

2

The storage provider returned an error in response to a protocol request.

3

There was no storage available for deletion.

4

This call is not supported.

DestroyError flexible

Type: uint32

Defined in fuchsia.sys2/lifecycle_controller.fidl

Added: 11

NameValueDescription
1
2
3
4

GetAllInstancesError flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

Errors that can be returned by the GetAllInstances call.

NameValueDescription
1

Could not find the scope root instance.

GetDeclarationError flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

Errors that can be returned by the GetManifest call.

NameValueDescription
1

Could not find an instance matching the given moniker.

2

The given moniker could not be parsed.

3

The component manifest is only available when the instance is resolved.

4

The component manifest could not be encoded into its persistable format.

5

The specified collection was not found in the specified component.

Added: 12
6

The specified URL could not be parsed.

Added: 12

GetInstanceError flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

Errors that can be returned by the GetInstance call.

NameValueDescription
1

Could not find an instance matching the given moniker.

2

The given moniker could not be parsed.

GetStructuredConfigError flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

Errors that can be returned by the GetStructuredConfig call.

NameValueDescription
1

Could not find an instance matching the given moniker.

2

The given moniker could not be parsed.

3

The component manifest is only available when the instance is resolved.

4

There is no structured configuration associated with this instance.

OpenDirType flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

The directories of an instance that can be opened by component manager.

Added: 11

NameValueDescription
1

Served by the component's program. Rights unknown.

2

Served by the component's runner. Rights unknown.

3

Served by the component's resolver. Rights unknown.

4

Served by component manager. Directory has RW rights.

5

Served by component manager. Directory has RW rights.

OpenError flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

Errors that can be returned by the OpenDirectory call.

NameValueDescription
1

Could not find an instance matching the given moniker.

2

The given moniker could not be parsed.

3

The requested directory is available when the instance is resolved.

4

The requested directory is available when the instance is running.

5

Component manager's open request on the directory returned a FIDL error.

6

The instance does not have a directory of this type.

7

The given directory type could not be parsed.

8

The given path could not be parsed by component manager.

RealmQueryError flexible

Type: uint32

Defined in fuchsia.sys2/realm.fidl

Errors that can be returned by the RealmQuery API.

NameValueDescription
1

Could not find an instance matching the given moniker.

2

The given moniker could not be parsed.

ResolveError flexible

Type: uint32

Defined in fuchsia.sys2/lifecycle_controller.fidl

Added: 11

NameValueDescription
1
2
3
4
5
6
Added: 19

RouteValidatorError flexible

Type: uint32

Defined in fuchsia.sys2/route_validator.fidl

Errors for RouteValidator

Added: 12

NameValueDescription
1

An unexpected error occurred.

2

At least one argument had an invalid format.

3

The component instance was not found.

4

The component instance was not resolved.

StartError flexible

Type: uint32

Defined in fuchsia.sys2/lifecycle_controller.fidl

Added: 11

NameValueDescription
1
2
3
4
5
6
Added: 19

StatusError strict

Type: uint32

Defined in fuchsia.sys2/storage_admin.fidl

NameValueDescription
1

The storage provider returned an error to a request or the connection to the provider unexpectedly closed.

2

Information returned by the storage provider appears to be invalid.

3

A call to the storage provider succeeded, but it returned unexpectedly empty data.

4

This call is not supported.

StopError flexible

Type: uint32

Defined in fuchsia.sys2/lifecycle_controller.fidl

Added: 11

NameValueDescription
1
2
3

UnresolveError flexible

Type: uint32

Defined in fuchsia.sys2/lifecycle_controller.fidl

Added: 11

NameValueDescription
1
2
3

TABLES

ComponentCrashInfo

Defined in fuchsia.sys2/crash_introspect.fidl

Information stored when a thread crashes.

OrdinalFieldTypeDescription
url string[4096]
moniker string[4096]

ExecutionInfo

Defined in fuchsia.sys2/realm.fidl

Information about the execution state of a component instance.

Added: 11

OrdinalFieldTypeDescription
start_reason string[5000]

The human-readable explanation for why this instance was started.

Instance

Defined in fuchsia.sys2/realm.fidl

Describes a component instance under a realm.

Note: This structure is expected to fit in a single Zircon channel message. Do not add fields that have the potential to violate that constraint. Prefer to create dedicated methods and iterators instead.

Added: 11

OrdinalFieldTypeDescription
moniker string[4096]

The path to this instance relative to the scope root.

url fuchsia.url/Url

The URL of the component manifest for this instance.

instance_id string[64]

The stable identifier for this instance, if one exists.

resolved_info ResolvedInfo

Information about the resolved state of a component instance. If the component is not resolved, this field is not set.

environment string[4096]

The component's environment name as defined by its parent.

ResolvedInfo

Defined in fuchsia.sys2/realm.fidl

Information about the resolved state of a component instance.

Added: 11

OrdinalFieldTypeDescription
resolved_url fuchsia.url/Url

The resolved URL of this instance.

execution_info ExecutionInfo

Information about the execution state of a component instance. If the component is not running, this field is not set.

RouteError

Defined in fuchsia.sys2/route_validator.fidl

Routing error for a particular capability.

OrdinalFieldTypeDescription
summary string

A human-readable explanation of the routing error.

RouteReport

Defined in fuchsia.sys2/route_validator.fidl

Routing result for a particular capability.

OrdinalFieldTypeDescription
capability string

The capability whose routing was attempted.

decl_type DeclType

Type of capability declaration

error RouteError

Describes the error that occurred from routing this capability. This field is not present if routing succeeded.

source_moniker string

The moniker of the source component.

Added: 12
service_instances vector<ServiceInstance>

Metadata about the instances in a service. Populated only for aggregated services.

Added: 12

ServiceInstance

Defined in fuchsia.sys2/route_validator.fidl

Metadata about a service instance.

Added: 12

OrdinalFieldTypeDescription
instance_name string

The name of the service instance in this service directory.

child_name string

The name of the component that serves the service instance, including the collection name if the component is a child.

child_instance_name string

The name of the service instance as exposed by the child.

StorageStatus

Defined in fuchsia.sys2/storage_admin.fidl

Metadata about status of the storage

OrdinalFieldTypeDescription
total_size uint64
used_size uint64

UNIONS

ChildLocation flexible

Defined in fuchsia.sys2/realm.fidl

Locations from which a child could be resolved under a given parent.

OrdinalVariantTypeDescription
collection string[100]

CrashIntrospect_FindComponentByThreadKoid_Result strict

Defined in fuchsia.sys2/crash_introspect.fidl

OrdinalVariantTypeDescription
response CrashIntrospect_FindComponentByThreadKoid_Response
err fuchsia.component/Error

LifecycleController_CreateInstance_Result strict

Defined in fuchsia.sys2/lifecycle_controller.fidl

OrdinalVariantTypeDescription
response LifecycleController_CreateInstance_Response
err CreateError

LifecycleController_DestroyInstance_Result strict

Defined in fuchsia.sys2/lifecycle_controller.fidl

OrdinalVariantTypeDescription
response LifecycleController_DestroyInstance_Response
err DestroyError

LifecycleController_ResolveInstance_Result strict

Defined in fuchsia.sys2/lifecycle_controller.fidl

OrdinalVariantTypeDescription
response LifecycleController_ResolveInstance_Response
err ResolveError

LifecycleController_StartInstance_Result strict

Defined in fuchsia.sys2/lifecycle_controller.fidl

OrdinalVariantTypeDescription
response LifecycleController_StartInstance_Response
err StartError

LifecycleController_StopInstance_Result strict

Defined in fuchsia.sys2/lifecycle_controller.fidl

OrdinalVariantTypeDescription
response LifecycleController_StopInstance_Response
err StopError

LifecycleController_UnresolveInstance_Result strict

Defined in fuchsia.sys2/lifecycle_controller.fidl

OrdinalVariantTypeDescription
response LifecycleController_UnresolveInstance_Response
err UnresolveError

RealmQuery_ConnectToStorageAdmin_Result strict

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_ConnectToStorageAdmin_Response
err ConnectToStorageAdminError

RealmQuery_ConstructNamespace_Result strict resource

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_ConstructNamespace_Response
err ConstructNamespaceError

RealmQuery_GetAllInstances_Result strict resource

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_GetAllInstances_Response
err GetAllInstancesError

RealmQuery_GetInstance_Result strict

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_GetInstance_Response
err GetInstanceError

RealmQuery_GetManifest_Result strict resource

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_GetManifest_Response
err GetDeclarationError

RealmQuery_GetResolvedDeclaration_Result strict resource

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_GetResolvedDeclaration_Response
err GetDeclarationError

RealmQuery_GetStructuredConfig_Result strict

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_GetStructuredConfig_Response
err GetStructuredConfigError

RealmQuery_Open_Result strict

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_Open_Response
err OpenError

RealmQuery_ResolveDeclaration_Result strict resource

Defined in fuchsia.sys2/realm.fidl

OrdinalVariantTypeDescription
response RealmQuery_ResolveDeclaration_Response
err GetDeclarationError

RouteValidator_Route_Result strict

Defined in fuchsia.sys2/route_validator.fidl

OrdinalVariantTypeDescription
response RouteValidator_Route_Response
err RouteValidatorError

RouteValidator_Validate_Result strict

Defined in fuchsia.sys2/route_validator.fidl

OrdinalVariantTypeDescription
response RouteValidator_Validate_Response
err fuchsia.component/Error

StorageAdmin_DeleteAllStorageContents_Result strict

Defined in fuchsia.sys2/storage_admin.fidl

OrdinalVariantTypeDescription
response StorageAdmin_DeleteAllStorageContents_Response
err DeletionError

StorageAdmin_DeleteComponentStorage_Result strict

Defined in fuchsia.sys2/storage_admin.fidl

OrdinalVariantTypeDescription
response StorageAdmin_DeleteComponentStorage_Response
err fuchsia.component/Error

StorageAdmin_GetStatus_Result strict

Defined in fuchsia.sys2/storage_admin.fidl

OrdinalVariantTypeDescription
response StorageStatus
err StatusError

StorageAdmin_ListStorageInRealm_Result strict

Defined in fuchsia.sys2/storage_admin.fidl

OrdinalVariantTypeDescription
response StorageAdmin_ListStorageInRealm_Response
err fuchsia.component/Error

StorageAdmin_OpenComponentStorageById_Result strict

Defined in fuchsia.sys2/storage_admin.fidl

OrdinalVariantTypeDescription
response StorageAdmin_OpenComponentStorageById_Response
err fuchsia.component/Error

CONSTANTS

NameValueTypeDescription
MAX_INSTANCE_ID_LENGTH 64 uint32

The maximum length of an instance ID. An instance ID is a 256-bit identifier, which when encoded in hex notation is 64 characters long.

MAX_START_REASON 5000 uint32

The maximum length of the human-readable start reason. This accounts for StartReason::AccessCapability which can have a length of MAX_MONIKER_LENGTH + MAX_NAME_LENGTH + 26 (4222 characters).

MAX_STORAGE_ID_LENGTH 64 uint32

The maximum length of a storage instance ID. A storage instance ID is a 256-bit UUID, which when encoded in hex notation is 64 characters long.