Skip to main content

Module node_set

Module node_set 

Source
Expand description

Node name sets with bracket-based range expansion.

Rust implementation of ClusterShell.NodeSet.

Supports bracket notation like node[1-10,15], set operations (union ,, difference !, intersection &, symmetric difference ^), and automatic folding for compact display.

Structs§

NodeSet
A set of cluster node names supporting range notation like node[1-100].

Enums§

NodeSetError

Functions§

expand
Expand a nodeset pattern into a list of individual node names.
fold
Fold a nodeset pattern: remove duplicates and compress ranges.

Type Aliases§

Result