1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 Praxis Contributors
//! The request a management handler sees, independent of the backend that
//! parsed it.
//!
//! The admin, health, metrics and KV handlers decide what to answer from
//! the method, target and headers, and read the body only for the few
//! `PUT` routes that carry one. A backend implements this for its own
//! request type and serves whatever the handler returns, so the handlers
//! never change when the backend does.
use ;
// -----------------------------------------------------------------------------
// AdminRequest
// -----------------------------------------------------------------------------
/// One management request as the admin handlers see it.
// -----------------------------------------------------------------------------
// BodyReadError
// -----------------------------------------------------------------------------
/// Why a management request's body could not be read.