Skip to main content

Crate server_less_core

Crate server_less_core 

Source
Expand description

Core traits and types for server-less.

This crate provides the foundational types that server-less macros generate code against.

Re-exports§

pub use error::ErrorCode;
pub use error::ErrorResponse;
pub use error::IntoErrorCode;
pub use error::SchemaValidationError;
pub use extract::Context;

Modules§

error
Error handling and protocol-specific error mapping.
extract
Context and parameter extraction types.

Structs§

MethodInfo
Method metadata extracted from an impl block. Used internally by macros but exposed for advanced use cases.
ParamInfo
Parameter metadata

Enums§

HttpMethod
HTTP method inferred from function name

Functions§

infer_path
Infer URL path from method name