pub struct Device<'a> { /* private fields */ }
Implementations§
source§impl<'a> Device<'a>
impl<'a> Device<'a>
pub fn target(&self) -> &'a Target<'a>
pub fn name(&self) -> &str
pub fn model(&self) -> &str
pub fn serial_no(&self) -> &str
pub fn all_apks_paths( config: &Config, profile: Profile, flavor: &str, ) -> Vec<PathBuf>
pub fn run( &self, config: &Config, env: &Env, noise_level: NoiseLevel, profile: Profile, filter_level: Option<FilterLevel>, build_app_bundle: bool, reinstall_deps: bool, activity: String, ) -> Result<Handle, RunError>
pub fn stacktrace( &self, config: &Config, env: &Env, ) -> Result<(), StacktraceError>
Trait Implementations§
source§impl<'a> Ord for Device<'a>
impl<'a> Ord for Device<'a>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialOrd for Device<'a>
impl<'a> PartialOrd for Device<'a>
impl<'a> Eq for Device<'a>
impl<'a> StructuralPartialEq for Device<'a>
Auto Trait Implementations§
impl<'a> Freeze for Device<'a>
impl<'a> RefUnwindSafe for Device<'a>
impl<'a> Send for Device<'a>
impl<'a> Sync for Device<'a>
impl<'a> Unpin for Device<'a>
impl<'a> UnwindSafe for Device<'a>
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.