# Functions
New takes a state snapshot of the given Raft instance into a temporary file and returns an object that gives access to the file as an io.Reader.
Restore takes the snapshot from the reader and attempts to apply it to the given Raft instance.
Verify takes the snapshot from the reader and verifies its contents.