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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more