Skip to main content

Once

Type Alias Once 

Source
pub type Once<V, Own, F> = OnceImpl<AtomicDataWithOwner<V, Own>, F>;
Expand description

A Once that combines some data with a permission to access it.

This type alias automatically lifts the target value V into a wrapper AtomicDataWithOwner<V, Own> where Own is the permission type so that we can reason about non-trivial runtime properties in verification.

Aliased Typeยง

pub struct Once<V, Own, F> { /* private fields */ }