fidl_fuchsia_lowpan_experimental

Trait DeviceRouteProxyInterface

Source
pub trait DeviceRouteProxyInterface: Send + Sync {
    type RegisterOnMeshPrefixResponseFut: Future<Output = Result<(), Error>> + Send;
    type UnregisterOnMeshPrefixResponseFut: Future<Output = Result<(), Error>> + Send;
    type RegisterExternalRouteResponseFut: Future<Output = Result<(), Error>> + Send;
    type UnregisterExternalRouteResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn register_on_mesh_prefix(
        &self,
        prefix: &OnMeshPrefix,
    ) -> Self::RegisterOnMeshPrefixResponseFut;
    fn unregister_on_mesh_prefix(
        &self,
        subnet: &Ipv6AddressWithPrefix,
    ) -> Self::UnregisterOnMeshPrefixResponseFut;
    fn register_external_route(
        &self,
        external_route: &ExternalRoute,
    ) -> Self::RegisterExternalRouteResponseFut;
    fn unregister_external_route(
        &self,
        subnet: &Ipv6AddressWithPrefix,
    ) -> Self::UnregisterExternalRouteResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn register_on_mesh_prefix( &self, prefix: &OnMeshPrefix, ) -> Self::RegisterOnMeshPrefixResponseFut

Source

fn unregister_on_mesh_prefix( &self, subnet: &Ipv6AddressWithPrefix, ) -> Self::UnregisterOnMeshPrefixResponseFut

Source

fn register_external_route( &self, external_route: &ExternalRoute, ) -> Self::RegisterExternalRouteResponseFut

Source

fn unregister_external_route( &self, subnet: &Ipv6AddressWithPrefix, ) -> Self::UnregisterExternalRouteResponseFut

Implementors§