Checked.toHash

size_t toHash() const nothrow @safe

Generates a hash for this. If Hook defines hookToHash, the call immediately returns hook.hookToHash(payload). If Hook does not implement hookToHash, but it has state, a hash will be generated for the Hook using the built-in function and it will be xored with the hash of the payload.

Returns

The hash of this instance.
size_t toHash(this _)() shared const nothrow @safe

ditto