pub struct AdbDevice {
pub name: String,
pub adb_path: PathBuf,
pub address: String,
pub screencap_methods: u64,
pub input_methods: u64,
pub config: Value,
}Expand description
Information about a connected ADB device.
Fields§
§name: StringDevice display name.
adb_path: PathBufPath to the ADB executable.
address: StringDevice address (e.g., “127.0.0.1:5555”).
screencap_methods: u64Supported screencap methods (bitflags).
input_methods: u64Supported input methods (bitflags).
config: ValueDevice configuration as JSON.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdbDevice
impl RefUnwindSafe for AdbDevice
impl Send for AdbDevice
impl Sync for AdbDevice
impl Unpin for AdbDevice
impl UnwindSafe for AdbDevice
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