pub trait ContentDiscovery:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn find_providers(&self, hash: HashAndFormat) -> Boxed<EndpointId>;
}Expand description
Trait for pluggable content discovery strategies.
pub trait ContentDiscovery:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn find_providers(&self, hash: HashAndFormat) -> Boxed<EndpointId>;
}Trait for pluggable content discovery strategies.