Module kernel::revocable

source ·
Expand description

Revocable objects.

The Revocable type wraps other types and allows access to them to be revoked. The existence of a RevocableGuard ensures that objects remain valid.

Structs§

  • An object that can become inaccessible at runtime.
  • A guard that allows access to a revocable object and keeps it alive.