brk_vecs/traits/raw.rs
1use std::fmt::Debug;
2
3use serde::Serialize;
4use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout};
5
6pub trait StoredRaw
7where
8 Self: Sized
9 + Debug
10 + Clone
11 + FromBytes
12 + IntoBytes
13 + Immutable
14 + KnownLayout
15 + Send
16 + Sync
17 + Serialize,
18{
19}
20
21impl<T> StoredRaw for T where
22 T: Sized
23 + Debug
24 + Clone
25 + FromBytes
26 + IntoBytes
27 + Immutable
28 + KnownLayout
29 + Send
30 + Sync
31 + Serialize
32{
33}