Skip to main content

Crate facet_dessert

Crate facet_dessert 

Source
Expand description

Sweet helpers for facet deserialization.

This crate provides common setter functions for handling string, bytes, and scalar values when deserializing into facet types. It’s used by both facet-format and facet-dom.

Enums§

DessertError
Error type for dessert operations.
PointerAction
Result of checking if a pointer type needs special handling.

Functions§

begin_pointer
Prepare a smart pointer for deserialization.
set_bytes_value
Set a bytes value with proper handling for borrowed vs owned data.
set_string_value
Set a string value, handling Option<T>, parseable types, enums, and string types.