Skip to main content

Module utils

Module utils 

Source
Expand description

Helper traits, types, and functions.

Structs§

ResultSignature
Helper type holding a result classification signature.
Success
Marker diagnostic type representing a successful result.

Traits§

Retryable
The retry policy of the error.

Functions§

module_path
Generates a Rust module path from the given source file path.
module_path_fs
Generates a /-separated file path relative to the crate’s parent directory.
module_path_prefix
Generates a Rust module path from the given source file path, prepending prefix.
with_service
Executes a future and ensures an error service is set.