pub type FetchFn = Arc<dyn Fn(Name) -> Pin<Box<dyn Future<Output = Option<Data>> + Send>> + Send + Sync>;Expand description
Type alias for the async fetch callback.
The callback takes a certificate Name and returns Option<Data>.
None means the fetch failed (timeout, no route, etc.).
Aliased Typeยง
pub struct FetchFn { /* private fields */ }