Skip to main content

DirEntryRouterProxyInterface

Trait DirEntryRouterProxyInterface 

Source
pub trait DirEntryRouterProxyInterface: Send + Sync {
    type RouteResponseFut: Future<Output = Result<DirEntryRouterRouteResult, Error>> + Send;

    // Required method
    fn route(&self, payload: RouteRequest) -> Self::RouteResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn route(&self, payload: RouteRequest) -> Self::RouteResponseFut

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§