pub trait RouteProvider:
Debug
+ Send
+ Sync {
// Required method
fn route(&self) -> Result<Url, AgentError>;
}
Expand description
A RouteProvider
for dynamic generation of routing urls.
Required Methods§
sourcefn route(&self) -> Result<Url, AgentError>
fn route(&self) -> Result<Url, AgentError>
Generate next routing url