pub struct Adb { /* private fields */ }Implementations§
Source§impl Adb
impl Adb
pub fn new(adb_path: &str) -> Self
pub fn execute(&self, args: &[&str]) -> Result<Output, Error>
pub fn devices(&self) -> Result<String, Error>
pub fn install(&self, apk_path: &str) -> Result<String, Error>
pub fn uninstall(&self, package_name: &str) -> Result<String, Error>
Auto Trait Implementations§
impl Freeze for Adb
impl RefUnwindSafe for Adb
impl Send for Adb
impl Sync for Adb
impl Unpin for Adb
impl UnsafeUnpin for Adb
impl UnwindSafe for Adb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more