RecoveryProxyInterface

Trait RecoveryProxyInterface 

Source
pub trait RecoveryProxyInterface: Send + Sync {
    type InitSystemPartitionTableResponseFut: Future<Output = Result<RecoveryInitSystemPartitionTableResult, Error>> + Send;
    type WriteDataFileResponseFut: Future<Output = Result<RecoveryWriteDataFileResult, Error>> + Send;
    type WipeStorageResponseFut: Future<Output = Result<RecoveryWipeStorageResult, Error>> + Send;

    // Required methods
    fn init_system_partition_table(
        &self,
        partitions: &[PartitionInfo],
    ) -> Self::InitSystemPartitionTableResponseFut;
    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;
}

Required Associated Types§

Required Methods§

Source

fn init_system_partition_table( &self, partitions: &[PartitionInfo], ) -> Self::InitSystemPartitionTableResponseFut

Source

fn write_data_file( &self, filename: &str, payload: Vmo, ) -> Self::WriteDataFileResponseFut

Source

fn wipe_storage( &self, blobfs_root: Option<ServerEnd<DirectoryMarker>>, blob_creator: Option<ServerEnd<BlobCreatorMarker>>, ) -> Self::WipeStorageResponseFut

Implementors§