Trait NodeExcluder

Source
pub trait NodeExcluder: Send + Sync {
    // Required method
    fn excluded_datanode_ids(&self) -> &Vec<DatanodeId> ;
}
Expand description

NodeExcluder is used to help decide whether some nodes should be excluded (out of consideration) in certain situations. For example, in some node selectors.

Required Methods§

Source

fn excluded_datanode_ids(&self) -> &Vec<DatanodeId>

Returns the excluded datanode ids.

Implementations on Foreign Types§

Source§

impl NodeExcluder for Vec<DatanodeId>

Implementors§