Skip to main content

Module comparator

Module comparator 

Source
Expand description

Provides the Comparator trait, which provides a mechanism for specifying how Snapshot data should be compared.

Structs§

DefaultComparator
Provides default comparison semantics for Snapshots. Binary snapshots are compared on the basis of their contents (including file extension). Text snapshots are compared on the basis of their deserialized representation.

Traits§

Comparator
Allows specific behavior to be invoked when Snapshots are compared.