fidl_fuchsia_sys2Trait StorageAdminProxyInterface
Source pub trait StorageAdminProxyInterface: Send + Sync {
type OpenStorageResponseFut: Future<Output = Result<StorageAdminOpenStorageResult, Error>> + Send;
type ListStorageInRealmResponseFut: Future<Output = Result<StorageAdminListStorageInRealmResult, Error>> + Send;
type OpenComponentStorageByIdResponseFut: Future<Output = Result<StorageAdminOpenComponentStorageByIdResult, Error>> + Send;
type DeleteComponentStorageResponseFut: Future<Output = Result<StorageAdminDeleteComponentStorageResult, Error>> + Send;
type GetStatusResponseFut: Future<Output = Result<StorageAdminGetStatusResult, Error>> + Send;
type DeleteAllStorageContentsResponseFut: Future<Output = Result<StorageAdminDeleteAllStorageContentsResult, Error>> + Send;
// Required methods
fn open_storage(
&self,
relative_moniker: &str,
object: ServerEnd<NodeMarker>,
) -> Self::OpenStorageResponseFut;
fn list_storage_in_realm(
&self,
relative_moniker: &str,
iterator: ServerEnd<StorageIteratorMarker>,
) -> Self::ListStorageInRealmResponseFut;
fn open_component_storage_by_id(
&self,
id: &str,
object: ServerEnd<NodeMarker>,
) -> Self::OpenComponentStorageByIdResponseFut;
fn delete_component_storage(
&self,
relative_moniker: &str,
) -> Self::DeleteComponentStorageResponseFut;
fn get_status(&self) -> Self::GetStatusResponseFut;
fn delete_all_storage_contents(
&self,
) -> Self::DeleteAllStorageContentsResponseFut;
fn deprecated_open_component_storage(
&self,
relative_moniker: &str,
flags: OpenFlags,
mode: ModeType,
object: ServerEnd<NodeMarker>,
) -> Result<(), Error>;
}