Libshuff and unifrac

What exactly is the difference? Libshuff tests whether two communities have the same structure -> tells me if libraries/communities can be considered the same or not and unifrac compares the phylogenetic distance between communities to detect differences in community structure, basically telling me the same thing, no?