pub trait DeviceRouteExtraProxyInterface: Send + Sync {
type GetLocalOnMeshPrefixesResponseFut: Future<Output = Result<Vec<OnMeshPrefix>, Error>> + Send;
type GetLocalExternalRoutesResponseFut: Future<Output = Result<Vec<ExternalRoute>, Error>> + Send;
// Required methods
fn get_local_on_mesh_prefixes(
&self,
) -> Self::GetLocalOnMeshPrefixesResponseFut;
fn get_local_external_routes(
&self,
) -> Self::GetLocalExternalRoutesResponseFut;
}Required Associated Types§
type GetLocalOnMeshPrefixesResponseFut: Future<Output = Result<Vec<OnMeshPrefix>, Error>> + Send
type GetLocalExternalRoutesResponseFut: Future<Output = Result<Vec<ExternalRoute>, Error>> + Send
Required Methods§
fn get_local_on_mesh_prefixes(&self) -> Self::GetLocalOnMeshPrefixesResponseFut
fn get_local_external_routes(&self) -> Self::GetLocalExternalRoutesResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".