pub struct Shell { /* private fields */ }
Implementations§
Source§impl 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 Freeze for Shell
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnwindSafe for Shell
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more