equal
deleted
inserted
replaced
21 mem::swap, fs::{File, OpenOptions}, |
21 mem::swap, fs::{File, OpenOptions}, |
22 io::{Read, Write, Result, Error, ErrorKind} |
22 io::{Read, Write, Result, Error, ErrorKind} |
23 }; |
23 }; |
24 use base64::{encode, decode}; |
24 use base64::{encode, decode}; |
25 use super::common::rnd_reply; |
25 use super::common::rnd_reply; |
|
26 use log::*; |
26 |
27 |
27 #[derive(Clone)] |
28 #[derive(Clone)] |
28 struct ByMsg<'a> { |
29 struct ByMsg<'a> { |
29 messages: &'a[u8] |
30 messages: &'a[u8] |
30 } |
31 } |