Module af_core::util [−][src]
Miscellaneous utilities.
Macros
attempt | Runs a block of code and catches |
attempt_async | Runs a block of async code and catches |
cfg_if | The main macro provided by this crate. See crate documentation for more information. |
pin | Pins a variable of type |
Structs
Deferred | A deferred function that will be called when dropped. |
Lazy | A value which is initialized on the first access. |
Uuid | A universally-unique identifier. |
Functions
default | Returns the “default value” for a type. |
defer | Defers a function so that it is called when dropped. |
Attribute Macros
pin_project | An attribute that creates projection types covering all the fields of struct or enum. |