diff options
Diffstat (limited to 'src/http/code.rs')
-rw-r--r-- | src/http/code.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/http/code.rs b/src/http/code.rs new file mode 100644 index 0000000..ba47282 --- /dev/null +++ b/src/http/code.rs @@ -0,0 +1,8 @@ +#[derive(Debug, Clone)] +#[allow(dead_code)] +pub enum Code { + Success = 200, + MethodNotAllowed = 405, + TooManyRequests = 429, + InternalServerError = 500, +} |