Struct Process
pub struct Process {}Expand description
This structure exposes Android-specific API for the current process.
Implementations§
§impl Process
impl Process
pub fn get_system_property(name: &str) -> Option<Property>
pub fn get_system_property(name: &str) -> Option<Property>
Return the Android system property with the given name
(e.g. ro.build.version.sdk) or None if the property does not exist.
pub fn properties() -> Properties ⓘ
pub fn properties() -> Properties ⓘ
Return an iterator over all the Android system properties.
Auto Trait Implementations§
impl Freeze for Process
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
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