pub trait SegmentFetcher:
Send
+ Sync
+ 'static {
// Required method
fn fetch_segments<'life0, 'async_trait>(
&'life0 self,
src: IsdAsn,
dst: IsdAsn,
) -> Pin<Box<dyn Future<Output = Result<Segments, SegmentFetchError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Segment fetcher trait.