fidl_fuchsia_component_sandboxTrait CapabilityStoreProxyInterface
Source pub trait CapabilityStoreProxyInterface: Send + Sync {
Show 36 associated items
type DuplicateResponseFut: Future<Output = Result<CapabilityStoreDuplicateResult, Error>> + Send;
type DropResponseFut: Future<Output = Result<CapabilityStoreDropResult, Error>> + Send;
type ExportResponseFut: Future<Output = Result<CapabilityStoreExportResult, Error>> + Send;
type ImportResponseFut: Future<Output = Result<CapabilityStoreImportResult, Error>> + Send;
type ConnectorCreateResponseFut: Future<Output = Result<CapabilityStoreConnectorCreateResult, Error>> + Send;
type ConnectorOpenResponseFut: Future<Output = Result<CapabilityStoreConnectorOpenResult, Error>> + Send;
type DirConnectorCreateResponseFut: Future<Output = Result<CapabilityStoreDirConnectorCreateResult, Error>> + Send;
type DirConnectorOpenResponseFut: Future<Output = Result<CapabilityStoreDirConnectorOpenResult, Error>> + Send;
type DictionaryCreateResponseFut: Future<Output = Result<CapabilityStoreDictionaryCreateResult, Error>> + Send;
type DictionaryLegacyImportResponseFut: Future<Output = Result<CapabilityStoreDictionaryLegacyImportResult, Error>> + Send;
type DictionaryLegacyExportResponseFut: Future<Output = Result<CapabilityStoreDictionaryLegacyExportResult, Error>> + Send;
type DictionaryInsertResponseFut: Future<Output = Result<CapabilityStoreDictionaryInsertResult, Error>> + Send;
type DictionaryGetResponseFut: Future<Output = Result<CapabilityStoreDictionaryGetResult, Error>> + Send;
type DictionaryRemoveResponseFut: Future<Output = Result<CapabilityStoreDictionaryRemoveResult, Error>> + Send;
type DictionaryCopyResponseFut: Future<Output = Result<CapabilityStoreDictionaryCopyResult, Error>> + Send;
type DictionaryKeysResponseFut: Future<Output = Result<CapabilityStoreDictionaryKeysResult, Error>> + Send;
type DictionaryEnumerateResponseFut: Future<Output = Result<CapabilityStoreDictionaryEnumerateResult, Error>> + Send;
type DictionaryDrainResponseFut: Future<Output = Result<CapabilityStoreDictionaryDrainResult, Error>> + Send;
// Required methods
fn duplicate(&self, id: u64, dest_id: u64) -> Self::DuplicateResponseFut;
fn drop(&self, id: u64) -> Self::DropResponseFut;
fn export(&self, id: u64) -> Self::ExportResponseFut;
fn import(&self, id: u64, capability: Capability) -> Self::ImportResponseFut;
fn connector_create(
&self,
id: u64,
receiver: ClientEnd<ReceiverMarker>,
) -> Self::ConnectorCreateResponseFut;
fn connector_open(
&self,
id: u64,
server_end: Channel,
) -> Self::ConnectorOpenResponseFut;
fn dir_connector_create(
&self,
id: u64,
receiver: ClientEnd<DirReceiverMarker>,
) -> Self::DirConnectorCreateResponseFut;
fn dir_connector_open(
&self,
id: u64,
server_end: ServerEnd<DirectoryMarker>,
) -> Self::DirConnectorOpenResponseFut;
fn dictionary_create(&self, id: u64) -> Self::DictionaryCreateResponseFut;
fn dictionary_legacy_import(
&self,
id: u64,
client_end: Channel,
) -> Self::DictionaryLegacyImportResponseFut;
fn dictionary_legacy_export(
&self,
id: u64,
server_end: Channel,
) -> Self::DictionaryLegacyExportResponseFut;
fn dictionary_insert(
&self,
id: u64,
item: &DictionaryItem,
) -> Self::DictionaryInsertResponseFut;
fn dictionary_get(
&self,
id: u64,
key: &str,
dest_id: u64,
) -> Self::DictionaryGetResponseFut;
fn dictionary_remove(
&self,
id: u64,
key: &str,
dest_id: Option<&WrappedCapabilityId>,
) -> Self::DictionaryRemoveResponseFut;
fn dictionary_copy(
&self,
id: u64,
dest_id: u64,
) -> Self::DictionaryCopyResponseFut;
fn dictionary_keys(
&self,
id: u64,
iterator: ServerEnd<DictionaryKeysIteratorMarker>,
) -> Self::DictionaryKeysResponseFut;
fn dictionary_enumerate(
&self,
id: u64,
iterator: ServerEnd<DictionaryEnumerateIteratorMarker>,
) -> Self::DictionaryEnumerateResponseFut;
fn dictionary_drain(
&self,
id: u64,
iterator: Option<ServerEnd<DictionaryDrainIteratorMarker>>,
) -> Self::DictionaryDrainResponseFut;
}