Macros§
- Macro used to temporarily “open” an
AtomicInvariant
object, obtaining the stored value within. - Macro used to temporarily “open” a
LocalInvariant
object, obtaining the stored value within.
Structs§
- An
AtomicInvariant
is a ghost object that provides “interior mutability” for ghost objects, specifically, fortracked
ghost objects. A reference&AtomicInvariant
may be shared between clients. A client holding such a reference may open the invariant to obtain ghost ownership ofv1: V
, and then close the invariant by returning ghost ownership of a (potentially) different objectv2: V
. - A
LocalInvariant
is a ghost object that provides “interior mutability” for ghost objects, specifically, fortracked
ghost objects. A reference&LocalInvariant
may be shared between clients. A client holding such a reference may open the invariant to obtain ghost ownership ofv1: V
, and then close the invariant by returning ghost ownership of a (potentially) different objectv2: V
.
Traits§
- Trait used to specify an invariant predicate for
LocalInvariant
andAtomicInvariant
.