Under the law as it exists, yes it is. Judge and jury doesn't enter into it. If she acted under the law then there is no reason for indictment or trial. And she acted under the law.
Wrong.
If the Texas law is as the Florida law, then she has to appear before a judge in an immunity hearing and explain her actions to him. And if he is not convinced that she acted lawfully then he will send it on to trial.