Crate af_macros
Source - attempt
- Runs a block of code and catches
? operator returns. - attempt_async
- Runs a block of async code and catches
? operator returns. - fail
- Returns an
Err containing a new fail::Error from format args. - fail_err
- Creates a new
fail::Error from format args. - fail_when
- Returns a
fail::Error if a condition is true. - fail_wrap
- Returns a closure for using
Result::map_err to wrap an error in a
fail::Error. - logger_init
- Initializes
af_runtime::logger. - path_join
- Joins multiple paths together.
- path_normalize
- Joins multiple paths together and then normalizes the result.
- path_resolve
- Joins multiple paths together and then resolves the result.
- test
- future_boxed
- Modifies an
async function to return a Box<dyn Future + Send>. - future_boxed_local
- Modifies an
async function to return a Box<dyn Future>. - main
- Defines an async main function for an
af-core application. - test_main
- Defines a main function for an
af_core::test suite.