Skip to main content

Module common

Module common 

Source

Re-exports§

pub use types::ApiState;
pub use error::ApiError;
pub use error::ApiErrorCode;
pub use request::ApiRequest;
pub use response::ApiResponse;
pub use response::EmptyResponse;

Modules§

agent_registration
Shared registration helpers used across transports.
error
request
response
types
Transport-agnostic type aliases for endpoints

Structs§

Json
JSON Extractor / Response.
Path
Extractor that will get captures from the URL and parse them using serde.
Query
Extractor that deserializes query strings into some type.
State
Extractor for state.

Type Aliases§

ApiResult
Result type for API operations