Skip to main content

Module module_export

Module module_export 

Source

Traits§

DefaultMiddleware
Helper trait for middleware that can be created with default constructor This is used by the generic_create_middleware function

Functions§

generic_create_middleware
Generic module logger setup function This can be used directly by modules or through the export_middleware_module macro Note: This function is not FFI-safe due to &str parameter, use the macro instead Generic middleware creation function Creates a middleware instance of type T and returns it as a fat pointer
generic_destroy_middleware
Generic middleware destruction function Safely destroys a middleware instance created by generic_create_middleware