PathFetcher

Trait PathFetcher 

Source
pub trait PathFetcher {
    // Required method
    fn fetch_paths(
        &self,
        src: IsdAsn,
        dst: IsdAsn,
    ) -> impl ResFut<'_, Vec<Path>, PathFetchError>;
}
Expand description

Path fetcher trait.

Required Methods§

Source

fn fetch_paths( &self, src: IsdAsn, dst: IsdAsn, ) -> impl ResFut<'_, Vec<Path>, PathFetchError>

Fetch paths between source and destination ISD-AS.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§