code: func (s *Server) setupSegmentRPC() (map[string]net.Listener, error) {
  	if len(s.config.Segments) > 0 {
  		return nil, structs.ErrSegmentsNotSupported
  	}
  
  	return nil, nil
  }
docs: // setupSegmentRPC returns an error if any segments are defined since the OSS
  // version of Consul doesn't support them.