Skip to main content

Module de

Module de 

Source
Expand description

Deserialization for the database’s compact record codec.

Compound values are divided into records by crate::SEP. A trailing type that accepts empty input can decode a missing final field from an older, shorter tuple, while writing the extended tuple emits an additional separator before that appended field.

Re-exportsΒ§

use serde::Deserialize; πŸ”’
use serde::Deserialize; πŸ”’
use serde::de; πŸ”’
use serde::de::DeserializeSeed; πŸ”’
use serde::de::Visitor; πŸ”’
use tuwunel_core::Error; πŸ”’
use tuwunel_core::Result; πŸ”’
use tuwunel_core::arrayvec::ArrayVec; πŸ”’
use tuwunel_core::checked; πŸ”’
use tuwunel_core::debug::DebugInspect; πŸ”’
use tuwunel_core::err; πŸ”’
use tuwunel_core::unhandled; πŸ”’
use tuwunel_core::utils::string; πŸ”’

StructsΒ§

Deserializer πŸ”’
Cursor state for decoding the compact database record format.
Ignore
Skips one encoded record when deserialized inside a sequence.
IgnoreAll
Skips the current record and every record that follows it.

FunctionsΒ§

deserialize_str πŸ”’
from_slice
Deserializes a value from database record bytes.