fidl_fuchsia_fshostTrait AdminProxyInterface
Source pub trait AdminProxyInterface: Send + Sync {
type MountResponseFut: Future<Output = Result<AdminMountResult, Error>> + Send;
type UnmountResponseFut: Future<Output = Result<AdminUnmountResult, Error>> + Send;
type GetDevicePathResponseFut: Future<Output = Result<AdminGetDevicePathResult, Error>> + Send;
type WriteDataFileResponseFut: Future<Output = Result<AdminWriteDataFileResult, Error>> + Send;
type WipeStorageResponseFut: Future<Output = Result<AdminWipeStorageResult, Error>> + Send;
type ShredDataVolumeResponseFut: Future<Output = Result<AdminShredDataVolumeResult, Error>> + Send;
type StorageHostEnabledResponseFut: Future<Output = Result<bool, Error>> + Send;
// Required methods
fn mount(
&self,
device: ClientEnd<BlockMarker>,
name: &str,
options: MountOptions,
) -> Self::MountResponseFut;
fn unmount(&self, name: &str) -> Self::UnmountResponseFut;
fn get_device_path(&self, fs_id: u64) -> Self::GetDevicePathResponseFut;
fn write_data_file(
&self,
filename: &str,
payload: Vmo,
) -> Self::WriteDataFileResponseFut;
fn wipe_storage(
&self,
blobfs_root: Option<ServerEnd<DirectoryMarker>>,
blob_creator: Option<ServerEnd<BlobCreatorMarker>>,
) -> Self::WipeStorageResponseFut;
fn shred_data_volume(&self) -> Self::ShredDataVolumeResponseFut;
fn storage_host_enabled(&self) -> Self::StorageHostEnabledResponseFut;
}