fidl_fuchsia_fs_realmTrait ControllerProxyInterface
Source pub trait ControllerProxyInterface: Send + Sync {
type MountResponseFut: Future<Output = Result<ControllerMountResult, Error>> + Send;
type UnmountResponseFut: Future<Output = Result<ControllerUnmountResult, Error>> + Send;
type FormatResponseFut: Future<Output = Result<ControllerFormatResult, Error>> + Send;
type CheckResponseFut: Future<Output = Result<ControllerCheckResult, Error>> + Send;
// Required methods
fn mount(
&self,
device: ClientEnd<ControllerMarker>,
name: &str,
options: MountOptions,
) -> Self::MountResponseFut;
fn unmount(&self, name: &str) -> Self::UnmountResponseFut;
fn format(
&self,
device: ClientEnd<ControllerMarker>,
name: &str,
options: FormatOptions,
) -> Self::FormatResponseFut;
fn check(
&self,
device: ClientEnd<ControllerMarker>,
name: &str,
) -> Self::CheckResponseFut;
}