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::HttpStatusFallback;
pub use error::HttpStatusHelper;
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
Runtime method metadata with string-based types.
ParamInfo
Runtime parameter metadata with string-based types.

Enums§

HttpMethod
HTTP method inferred from function name

Functions§

infer_path
Infer URL path from method name