Struct android_tools::adb::Shell
source · [−]pub struct Shell { /* private fields */ }
Implementations
sourceimpl Shell
impl Shell
pub fn new() -> Self
sourcepub fn service_list(&mut self, service_list: bool) -> &mut Self
pub fn service_list(&mut self, service_list: bool) -> &mut Self
List all services
sourcepub fn install(&mut self, install: &Path) -> &mut Self
pub fn install(&mut self, install: &Path) -> &mut Self
Install app or install app from phone path
sourcepub fn permissions_groups(&mut self, permissions_groups: bool) -> &mut Self
pub fn permissions_groups(&mut self, permissions_groups: bool) -> &mut Self
List permission groups definitions
sourcepub fn list_permissions_g_r(&mut self, list_permissions_g_r: bool) -> &mut Self
pub fn list_permissions_g_r(&mut self, list_permissions_g_r: bool) -> &mut Self
List permissions details
pub fn run(&self) -> Result<()>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnwindSafe for Shell
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more