A majority of the Supreme Court on Tuesday appeared open to adopting a constitutional due process rule that would require an elected state judge to recuse in a case involving the interests of a major campaign donor.

But the justices wrestled with how to craft a standard for deciding when recusal is required, without opening the floodgates to recusal motions or allowing the standard to spill over to affect appointed federal judges — including themselves.