Trait grin_core::ser::VerifySortedAndUnique
source · [−]pub trait VerifySortedAndUnique<T> {
fn verify_sorted_and_unique(&self) -> Result<(), Error>;
}
Expand description
Collections of items must be sorted lexicographically and all unique.
Required methods
fn verify_sorted_and_unique(&self) -> Result<(), Error>
fn verify_sorted_and_unique(&self) -> Result<(), Error>
Verify a collection of items is sorted and all unique.