diff options
Diffstat (limited to 'src/wireguard/router/workers.rs')
-rw-r--r-- | src/wireguard/router/workers.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wireguard/router/workers.rs b/src/wireguard/router/workers.rs index 5482cee..d87174f 100644 --- a/src/wireguard/router/workers.rs +++ b/src/wireguard/router/workers.rs @@ -24,20 +24,17 @@ use super::super::{bind, tun, Endpoint}; pub const SIZE_TAG: usize = 16; -#[derive(Debug)] pub struct JobEncryption { pub msg: Vec<u8>, pub keypair: Arc<KeyPair>, pub counter: u64, } -#[derive(Debug)] pub struct JobDecryption { pub msg: Vec<u8>, pub keypair: Arc<KeyPair>, } -#[derive(Debug)] pub enum JobParallel { Encryption(oneshot::Sender<JobEncryption>, JobEncryption), Decryption(oneshot::Sender<Option<JobDecryption>>, JobDecryption), |