Skip to main content

Module utilities

Module utilities 

Source
Expand description

§Utilities

§Purpose

Shared helper functions and types that don’t fit neatly into other modules.

§Scope

This module defines:

  • SyncService: A thread-safe wrapper for services (enabled with std feature).
  • parse_path_param: Helper for parsing path parameters.
  • parse_body: Helper for parsing request bodies (handles multipart).

Structs§

SyncService
A thread-safe wrapper for a service, enabling sharing across threads.

Functions§

parse_body
Parses the request body into a Protobuf message.
parse_path_param
Parses a path parameter string into a target type.