1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! # Response module.
//!
//! A [`Response`] is the type of data sent by the server to the
//! client straight after receiving a request.

use super::Timer;

#[derive(Clone, Debug, Eq, PartialEq)]
pub enum Response {
    /// Default response when everything goes fine.
    Ok,
    /// Response that contains the current timer.
    Timer(Timer),
}