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§

Required Methods§

Implementors§

source§

impl DeviceTestProxyInterface for DeviceTestProxy

§

type ResetResponseFut = QueryResponseFut<()>

§

type GetNcpVersionResponseFut = QueryResponseFut<String>

§

type GetCurrentRssiResponseFut = QueryResponseFut<i8>

§

type GetFactoryMacAddressResponseFut = QueryResponseFut<MacAddress>

§

type GetCurrentMacAddressResponseFut = QueryResponseFut<MacAddress>

§

type GetCurrentChannelResponseFut = QueryResponseFut<u16>

§

type GetPartitionIdResponseFut = QueryResponseFut<u32>

§

type GetThreadRloc16ResponseFut = QueryResponseFut<u16>

§

type GetThreadRouterIdResponseFut = QueryResponseFut<u8>

§

type ReplaceMacAddressFilterSettingsResponseFut = QueryResponseFut<()>

§

type GetMacAddressFilterSettingsResponseFut = QueryResponseFut<MacAddressFilterSettings>

§

type GetNeighborTableResponseFut = QueryResponseFut<Vec<NeighborInfo>>