Skip to main content

Crate sandbox

Crate sandbox 

Source
Expand description

A library for interacting with the fuchsia.component.sandbox FIDL APIs.

This library provides type-safe wrappers around the raw FIDL types for capabilities and the capability store, simplifying their use.

Structs§

Capability
A type-safe wrapper for a fsandbox::Capability.
CapabilityIdGenerator
A helper struct to generate unused capability IDs.
CapabilityStore
A wrapper over fsandbox::CapabilityStoreProxy providing self-contained types.
Connector
A reference to a Connector capability in the store.
ConnectorRouter
A reference to a ConnectorRouter capability in the store.
Data
A reference to a Data capability in the store.
DataRouter
A reference to a DataRouter capability in the store.
Dictionary
A reference to a Dictionary capability in the store.
DictionaryRouter
A reference to a DictionaryRouter capability in the store.
DirConnector
A reference to a DirConnector capability in the store.
DirConnectorRouter
A reference to a DirConnectorRouter capability in the store.
DirEntry
A reference to a DirEntry capability in the store.
DirEntryRouter
A reference to a DirEntryRouter capability in the store.
Directory
A reference to a Directory capability in the store.
Handle
A reference to a Zircon handle capability in the store.
Unit
A reference to a Unit capability in the store.

Enums§

Error
An error that can occur when interacting with the sandbox APIs.

Traits§

CapabilityRef
A reference to a fsandbox::Capability stored in a repository held by the component framework.
Importable
A trait for value types that can be imported into a CapabilityStore, such as String, u64, and fsandbox::DictionaryRef.