summaryrefslogtreecommitdiff
path: root/src/binary/reverse_appendix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary/reverse_appendix.rs')
-rw-r--r--src/binary/reverse_appendix.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binary/reverse_appendix.rs b/src/binary/reverse_appendix.rs
index d131526..592e623 100644
--- a/src/binary/reverse_appendix.rs
+++ b/src/binary/reverse_appendix.rs
@@ -3,6 +3,7 @@ use crate::{Codec, Error};
/// Reverses payload binary data and writes it ass-first past the end of the original data. A
/// length marker is also prepended to the payload *before reversing* so the decoder knows how long
/// the payload is.
+#[derive(Clone, Debug)]
pub struct BinaryReverseAppendixCodec;
impl Codec for BinaryReverseAppendixCodec {