aboutsummaryrefslogtreecommitdiff
path: root/src/response.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-27 07:00:44 +0000
committerFuwn <[email protected]>2022-03-27 07:00:44 +0000
commit18d4ac1f2e9782654494c957927c2a5cc6a2915c (patch)
treed5c13fa5595d2efe1cd9a724ddf13a116bc91d0c /src/response.rs
parentdocs(readme): fix example (diff)
downloadwindmark-0.1.2.tar.xz
windmark-0.1.2.zip
docs: extend0.1.2
Diffstat (limited to 'src/response.rs')
-rw-r--r--src/response.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/response.rs b/src/response.rs
index d89dbf2..b9c5354 100644
--- a/src/response.rs
+++ b/src/response.rs
@@ -16,6 +16,9 @@
// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
+//! Content and response handlers
+
+/// The content and response type a handler should reply with.
pub enum Response<'a> {
Input(String),
SensitiveInput(String),