PathPrefetcher

Trait PathPrefetcher 

Source
pub trait PathPrefetcher {
    // Required method
    fn prefetch_path(&self, src: IsdAsn, dst: IsdAsn);
}
Expand description

Trait for prefetching paths in the path manager.

Required Methods§

Source

fn prefetch_path(&self, src: IsdAsn, dst: IsdAsn)

Prefetch a paths for the given source and destination.

Implementors§

Source§

impl<P: PathPolicy + Send + Sync + 'static, F: PathFetcher + Send + Sync + 'static> PathPrefetcher for CachingPathManager<P, F>