Trait dinghy::Device
[−]
[src]
pub trait Device: Debug { fn name(&self) -> &str; fn id(&self) -> &str; fn target(&self) -> String; fn start_remote_lldb(&self) -> Result<String>; fn make_app(&self, source: &Path, app: &Path) -> Result<PathBuf>; fn install_app(&self, path: &Path) -> Result<()>; fn clean_app(&self, path: &Path) -> Result<()>; fn run_app(&self, app: &Path, args: &[&str], envs: &[&str]) -> Result<()>; fn debug_app(&self, app: &Path, args: &[&str], envs: &[&str]) -> Result<()>; fn can_run(&self, target: &str) -> bool { ... } }
Required Methods
fn name(&self) -> &str
fn id(&self) -> &str
fn target(&self) -> String
fn start_remote_lldb(&self) -> Result<String>
fn make_app(&self, source: &Path, app: &Path) -> Result<PathBuf>
fn install_app(&self, path: &Path) -> Result<()>
fn clean_app(&self, path: &Path) -> Result<()>
fn run_app(&self, app: &Path, args: &[&str], envs: &[&str]) -> Result<()>
fn debug_app(&self, app: &Path, args: &[&str], envs: &[&str]) -> Result<()>
Provided Methods
Implementors
impl Device for AndroidDevice
impl Device for SshDevice