Crate once_nonstatic

Source
Expand description

A clone of std::sync::Once.

Structsยง

  • Like std::sync::Once, but relaxing the requirement of &'static self to &self on call_once. Access to inner state is guarded by a spinlock.