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§
Sourcefn excluded_datanode_ids(&self) -> &Vec<DatanodeId> ⓘ
fn excluded_datanode_ids(&self) -> &Vec<DatanodeId> ⓘ
Returns the excluded datanode ids.