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