pub fn new_initial(id: NodeId) -> Self {
        let mut members = HashSet::new();
        members.insert(id);

        Self { members }
    }
/// Create a new initial config containing only the given node ID.
Create a new initial config containing only the given node ID.
Create a new initial config containing only the given node ID .
pub fn new_initial(id: NodeId) -> Self {
        let mut members = HashSet::new();
        members.insert(id);
        Self { members }
    }
pub fn new_initial ( id : NodeId ) -> Self { let mut members = HashSet :: new ( ) ; members . insert ( id ) ; Self { members } }
Create a new initial config containing only the given node ID.
Create a new initial config containing only the given node ID .
id
NodeId
id
NodeId