Module async_once_cell::unpin
source · Expand description
Types that do not rely on pinning during initialization.
This module is only built if the unpin
crate feature is enabled.
This module contains OnceFuture and its wrappers Lazy and ConstLazy, which provide lazy initialization without requiring the resulting structure be pinned.
This is the API exposed by the 0.3 version of this crate for Lazy
.
Structs
A value which is initialized on the first access.
A value which is initialized on the first access.
A Future which is executed exactly once, producing an output accessible without locking.