pub trait RouterDestination: Send + Sync {
// Required methods
fn exec_component(&self);
fn shard_id(&self) -> &'static str;
}Expand description
A navigation destination produced by the #[shard] macro.
Required Methods§
Sourcefn exec_component(&self)
fn exec_component(&self)
Execute the component associated with this destination.