pub trait Device:
Debug
+ Display
+ DeviceCompatibility
+ DynClone {
// Required methods
fn clean_app(&self, build_bundle: &BuildBundle) -> Result<()>;
fn debug_app(
&self,
project: &Project,
build: &Build,
args: &[&str],
envs: &[&str],
) -> Result<BuildBundle>;
fn id(&self) -> &str;
fn name(&self) -> &str;
fn run_app(
&self,
project: &Project,
build: &Build,
args: &[&str],
envs: &[&str],
) -> Result<BuildBundle>;
}Required Methods§
fn clean_app(&self, build_bundle: &BuildBundle) -> Result<()>
fn debug_app( &self, project: &Project, build: &Build, args: &[&str], envs: &[&str], ) -> Result<BuildBundle>
fn id(&self) -> &str
fn name(&self) -> &str
fn run_app( &self, project: &Project, build: &Build, args: &[&str], envs: &[&str], ) -> Result<BuildBundle>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".