vecdb/traits/
raw.rs

1use std::fmt::{Debug, Display};
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        + Display
19        + 'static,
20{
21}
22
23impl<T> StoredRaw for T where
24    T: Sized
25        + Debug
26        + Clone
27        + FromBytes
28        + IntoBytes
29        + Immutable
30        + KnownLayout
31        + Send
32        + Sync
33        + Serialize
34        + Display
35        + 'static
36{
37}