Skip to main content

Module once

Module once 

Source

Structs§

InvariantPredicate_auto_OnceImpl_state
OnceImpl
A synchronization primitive which can nominally be written to only once.

Enums§

OnceState
A tracked state of a¸ Once that can be used to ensure that the cell is initialized before accessing its value.

Constants§

INITED
OCCUPIED
UNINIT

Type Aliases§

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