Expand description
FromWXF — pull-based typed deserialization from a WxfReader.
Lifetime-parameterized like serde’s Deserialize<'de>: 'de is the input
buffer’s lifetime. Owned types implement FromWXF<'de> for every 'de
(they borrow nothing); borrowed types (&'de str, &'de [u8], and
derived structs with reference fields) tie to a specific 'de and read
zero-copy straight out of the buffer.
Peek-free by construction: every value begins with one expression token, read
once via WxfReader::read_expr_token and threaded into
FromWXF::from_wxf_with_tag.
Traits§
Functions§
- err_at
- Build a
Deserializeerror tagged with a path. Used by the derive.