aboutsummaryrefslogtreecommitdiff
path: root/src/method.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/method.rs')
-rw-r--r--src/method.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/method.rs b/src/method.rs
deleted file mode 100644
index 5f8110a..0000000
--- a/src/method.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-use std::fmt::Display;
-
-pub enum Method {
- Register,
- Invite,
- Ack,
- Option,
- Cancel,
- Bye,
-}
-
-impl Display for Method {
- fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
- f.write_str(match self {
- Method::Register => "REGISTER",
- Method::Invite => "INVITE",
- Method::Ack => "ACK",
- Method::Option => "OPTION",
- Method::Cancel => "CANCEL",
- Method::Bye => "BYE",
- })
- }
-}