Trait BrowserPolicy

Source
pub trait BrowserPolicy {
    // Required method
    fn get_next(&self, results: &BrowseResultItem) -> Vec<BrowseDescription>;
}
Expand description

Trait for deciding which nodes to browse next in a recursive browse.

Required Methods§

Source

fn get_next(&self, results: &BrowseResultItem) -> Vec<BrowseDescription>

Given a parent node, and a list of references from that node, return a list of nodes to browse next.

Implementors§