Macros§
- Macro used to temporarily “open” an
AtomicInvariantobject, obtaining the stored value within. - Macro used to temporarily “open” a
LocalInvariantobject, obtaining the stored value within.
Structs§
- An
AtomicInvariantis a ghost object that provides “interior mutability” for ghost objects, specifically, fortrackedghost objects. A reference&AtomicInvariantmay 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
LocalInvariantis a ghost object that provides “interior mutability” for ghost objects, specifically, fortrackedghost objects. A reference&LocalInvariantmay 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
LocalInvariantandAtomicInvariant.