Skip to main content

Crate kamu_snap_response_actix

Crate kamu_snap_response_actix 

Source
Expand description

actix-web::Responder adapter for kamu_snap_response::SnapResponse.

Add this crate to enable actix_web::Responder on SnapResponse<T>. The impl is defensive: if responseCode cannot be parsed back into an HTTP status (malformed wire code), the response falls back to INTERNAL_SERVER_ERROR instead of panicking. Closes review F-02.

Structs§

ActixResponder
Newtype wrapping SnapResponse<T> for the actix Responder impl.

Traits§

SnapResponderExt
Extension trait providing .into_actix() for ergonomic conversion.