mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Introduce a BytesDecodeOwned trait in heed_codecs
This commit is contained in:
parent
a61ca4066e
commit
9680e1e41f
7 changed files with 73 additions and 3 deletions
|
@ -23,3 +23,9 @@ pub use self::roaring_bitmap_length::{
|
|||
pub use self::script_language_codec::ScriptLanguageCodec;
|
||||
pub use self::str_beu32_codec::{StrBEU16Codec, StrBEU32Codec};
|
||||
pub use self::str_str_u8_codec::{U8StrStrCodec, UncheckedU8StrStrCodec};
|
||||
|
||||
pub trait BytesDecodeOwned {
|
||||
type DItem;
|
||||
|
||||
fn bytes_decode_owned(bytes: &[u8]) -> Option<Self::DItem>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue