time/response.rs
1//! # Response module.
2//!
3//! A [`Response`] is the type of data sent by the server to the
4//! client straight after receiving a request.
5
6use super::Timer;
7
8#[derive(Clone, Debug, Eq, PartialEq)]
9pub enum Response {
10    /// Default response when everything goes fine.
11    Ok,
12    /// Response that contains the current timer.
13    Timer(Timer),
14}