pub trait RouteSetV6ProxyInterface: Send + Sync {
type AuthenticateForInterfaceResponseFut: Future<Output = Result<RouteSetV6AuthenticateForInterfaceResult, Error>> + Send;
type AddRouteResponseFut: Future<Output = Result<RouteSetV6AddRouteResult, Error>> + Send;
type RemoveRouteResponseFut: Future<Output = Result<RouteSetV6RemoveRouteResult, Error>> + Send;
// Required methods
fn authenticate_for_interface(
&self,
credential: ProofOfInterfaceAuthorization,
) -> Self::AuthenticateForInterfaceResponseFut;
fn add_route(&self, route: &RouteV6) -> Self::AddRouteResponseFut;
fn remove_route(&self, route: &RouteV6) -> Self::RemoveRouteResponseFut;
}Required Associated Types§
type AuthenticateForInterfaceResponseFut: Future<Output = Result<RouteSetV6AuthenticateForInterfaceResult, Error>> + Send
type AddRouteResponseFut: Future<Output = Result<RouteSetV6AddRouteResult, Error>> + Send
type RemoveRouteResponseFut: Future<Output = Result<RouteSetV6RemoveRouteResult, Error>> + Send
Required Methods§
fn authenticate_for_interface( &self, credential: ProofOfInterfaceAuthorization, ) -> Self::AuthenticateForInterfaceResponseFut
fn add_route(&self, route: &RouteV6) -> Self::AddRouteResponseFut
fn remove_route(&self, route: &RouteV6) -> Self::RemoveRouteResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".