From 45f536b1737ca765be0bc2a754f98f75c0f39fab Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 2 Aug 2021 00:55:01 +0100 Subject: [PATCH] note about Box vs Vec Signed-off-by: Ian Jackson --- src/slip.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/slip.rs b/src/slip.rs index 1713057..07ae827 100644 --- a/src/slip.rs +++ b/src/slip.rs @@ -66,6 +66,10 @@ where EH: FnMut(PacketError) pub type Frame = Vec; pub type FramesData = Vec>; +//pub type Frame = Box<[u8]>; +//pub type FramesData = Vec; +// `From>` is not implemented for `Bytes` + #[derive(Default)] pub struct Frames { -- 2.30.2