Skip to main content

print_gathered_header

Function print_gathered_header 

Source
pub fn print_gathered_header(
    nodes: &str,
    count: usize,
    out: &mut impl Write,
) -> Result<()>
Expand description

Print gathered output with a node header.

Mirrors Display.format_header() from the Python oracle: the node count is appended as (N) only when more than one node is gathered (node_count at standard verbosity).

---------------
node[1-3] (3)
---------------
hello world