From ad445ac7b76d007d89bc69a274016d8cf8bbef3d Mon Sep 17 00:00:00 2001 From: Thomas Wickham Date: Sat, 6 Mar 2021 21:40:24 +0100 Subject: [PATCH] REMOVE USELESSNESS --- src/domain/messages.rs | 28 ---------------------------- src/domain/mod.rs | 1 - 2 files changed, 29 deletions(-) delete mode 100644 src/domain/messages.rs delete mode 100644 src/domain/mod.rs diff --git a/src/domain/messages.rs b/src/domain/messages.rs deleted file mode 100644 index a0d5df8..0000000 --- a/src/domain/messages.rs +++ /dev/null @@ -1,28 +0,0 @@ - -struct LdapMessage { - message_id: u32, - operation: LdapOperation, -} - -enum LdapOperation { - BindRequest(BindRequest), - BindResponse(BindResponse), - //UnbindRequest(UnbindRequest), -} - -struct BindRequest { - version: u8, - name: String, - authentication: AuthenticationChoice, -} - -enum AuthenticationChoice { - Simple(String), - // Sasl -} - -struct BindResponse { - result_code: u8, - matched_dn: String, - diagnostic_message: String, -} diff --git a/src/domain/mod.rs b/src/domain/mod.rs deleted file mode 100644 index 87a2b7b..0000000 --- a/src/domain/mod.rs +++ /dev/null @@ -1 +0,0 @@ -mod messages;