a trial where the rights of the defendant is safeguarded by an impartial judge and jury deciding the matter.