Skip to main content

Module conformance

Module conformance 

Source
Expand description

Conformance checks for the handle-store protocol.

Run these from a handle store’s test suite to certify it follows the outstanding/{id} rules — whether it’s built on crate::HandleStore or hand-rolled. Each check panics with a descriptive message on violation.

Functions§

check_handle_conventions
Run every handle-protocol check against a fresh store.
check_mint_returns_handle_path
A root write mints a handle at outstanding/{id}.
check_overwrite_conflicts
A non-Null write directly to a handle is a conflict.
check_release_and_absence
A Null write releases the handle; released handles read as absent.
check_release_idempotent
Releasing twice, or releasing an unknown handle, is a no-op.