pub trait DeviceTestProxyInterface: Send + Sync {
type ResetResponseFut: Future<Output = Result<(), Error>> + Send;
type GetNcpVersionResponseFut: Future<Output = Result<String, Error>> + Send;
type GetCurrentRssiResponseFut: Future<Output = Result<i8, Error>> + Send;
type GetFactoryMacAddressResponseFut: Future<Output = Result<MacAddress, Error>> + Send;
type GetCurrentMacAddressResponseFut: Future<Output = Result<MacAddress, Error>> + Send;
type GetCurrentChannelResponseFut: Future<Output = Result<u16, Error>> + Send;
type GetPartitionIdResponseFut: Future<Output = Result<u32, Error>> + Send;
type GetThreadRloc16ResponseFut: Future<Output = Result<u16, Error>> + Send;
type GetThreadRouterIdResponseFut: Future<Output = Result<u8, Error>> + Send;
type ReplaceMacAddressFilterSettingsResponseFut: Future<Output = Result<(), Error>> + Send;
type GetMacAddressFilterSettingsResponseFut: Future<Output = Result<MacAddressFilterSettings, Error>> + Send;
type GetNeighborTableResponseFut: Future<Output = Result<Vec<NeighborInfo>, Error>> + Send;
// Required methods
fn reset(&self) -> Self::ResetResponseFut;
fn get_ncp_version(&self) -> Self::GetNcpVersionResponseFut;
fn get_current_rssi(&self) -> Self::GetCurrentRssiResponseFut;
fn get_factory_mac_address(&self) -> Self::GetFactoryMacAddressResponseFut;
fn get_current_mac_address(&self) -> Self::GetCurrentMacAddressResponseFut;
fn get_current_channel(&self) -> Self::GetCurrentChannelResponseFut;
fn get_partition_id(&self) -> Self::GetPartitionIdResponseFut;
fn get_thread_rloc16(&self) -> Self::GetThreadRloc16ResponseFut;
fn get_thread_router_id(&self) -> Self::GetThreadRouterIdResponseFut;
fn replace_mac_address_filter_settings(
&self,
settings: &MacAddressFilterSettings,
) -> Self::ReplaceMacAddressFilterSettingsResponseFut;
fn get_mac_address_filter_settings(
&self,
) -> Self::GetMacAddressFilterSettingsResponseFut;
fn get_neighbor_table(&self) -> Self::GetNeighborTableResponseFut;
}Required Associated Types§
type ResetResponseFut: Future<Output = Result<(), Error>> + Send
type GetNcpVersionResponseFut: Future<Output = Result<String, Error>> + Send
type GetCurrentRssiResponseFut: Future<Output = Result<i8, Error>> + Send
type GetFactoryMacAddressResponseFut: Future<Output = Result<MacAddress, Error>> + Send
type GetCurrentMacAddressResponseFut: Future<Output = Result<MacAddress, Error>> + Send
type GetCurrentChannelResponseFut: Future<Output = Result<u16, Error>> + Send
type GetPartitionIdResponseFut: Future<Output = Result<u32, Error>> + Send
type GetThreadRloc16ResponseFut: Future<Output = Result<u16, Error>> + Send
type GetThreadRouterIdResponseFut: Future<Output = Result<u8, Error>> + Send
type ReplaceMacAddressFilterSettingsResponseFut: Future<Output = Result<(), Error>> + Send
type GetMacAddressFilterSettingsResponseFut: Future<Output = Result<MacAddressFilterSettings, Error>> + Send
type GetNeighborTableResponseFut: Future<Output = Result<Vec<NeighborInfo>, Error>> + Send
Required Methods§
fn reset(&self) -> Self::ResetResponseFut
fn get_ncp_version(&self) -> Self::GetNcpVersionResponseFut
fn get_current_rssi(&self) -> Self::GetCurrentRssiResponseFut
fn get_factory_mac_address(&self) -> Self::GetFactoryMacAddressResponseFut
fn get_current_mac_address(&self) -> Self::GetCurrentMacAddressResponseFut
fn get_current_channel(&self) -> Self::GetCurrentChannelResponseFut
fn get_partition_id(&self) -> Self::GetPartitionIdResponseFut
fn get_thread_rloc16(&self) -> Self::GetThreadRloc16ResponseFut
fn get_thread_router_id(&self) -> Self::GetThreadRouterIdResponseFut
fn replace_mac_address_filter_settings( &self, settings: &MacAddressFilterSettings, ) -> Self::ReplaceMacAddressFilterSettingsResponseFut
fn get_mac_address_filter_settings( &self, ) -> Self::GetMacAddressFilterSettingsResponseFut
fn get_neighbor_table(&self) -> Self::GetNeighborTableResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".