1
2
3
4
5
6
7
8
9
10
11
12
use std::fmt::{Debug, Display};

use crate::types::DeviceAddress;

pub trait AdbDevice: Display + Debug + Send + Sync {
	fn addr(&self) -> &DeviceAddress;
	fn args(&self) -> Vec<String>;
}

pub trait AsArgs<T>: Send + Sync {
	fn as_args(&self) -> Vec<T>;
}