pub trait FactoryDeviceProxyInterface: Send + Sync {
type SendMfgCommandResponseFut: Future<Output = Result<String, Error>> + Send;
type SetupOtCliResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn send_mfg_command(&self, command: &str) -> Self::SendMfgCommandResponseFut;
fn setup_ot_cli(&self, server_socket: Socket) -> Self::SetupOtCliResponseFut;
}Required Associated Types§
type SendMfgCommandResponseFut: Future<Output = Result<String, Error>> + Send
type SetupOtCliResponseFut: Future<Output = Result<(), Error>> + Send
Required Methods§
fn send_mfg_command(&self, command: &str) -> Self::SendMfgCommandResponseFut
fn setup_ot_cli(&self, server_socket: Socket) -> Self::SetupOtCliResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".