Skip to main content

Crate zynk_axum

Crate zynk_axum 

Source
Expand description

Axum server binding for Zynk Rust endpoints.

ZynkBridge consumes endpoint metadata collected through inventory and registers Zynk wire-contract routes on an existing Axum router.

Structs§

Channel
Server-side sender passed to channel handlers.
StaticFile
File response descriptor returned by static handlers.
UploadFile
Uploaded file metadata and bytes passed to upload handlers.
WebSocket
Server-side sender passed to WebSocket event handlers.
ZynkBridge
Axum integration point for Zynk endpoints.

Traits§

ChannelHandler
Type-erased async handler contract for channel endpoints.
StaticHandler
Type-erased async handler contract for static file endpoints.
UploadHandler
Type-erased async handler contract for upload endpoints.
WsHandler
Type-erased async handler contract for WebSocket message events.