pub enum DecodedValue<'a> {
Scalar(Slot),
Str(&'a [u8]),
ListWords(&'a [u64]),
}Expand description
A borrowed decoded value view. Strings and lists borrow decoder staging or persistent opaque pools; they remain valid until the next accepted frame.
Variants§
Scalar(Slot)
A scalar value (numeric, bool or enum).
Str(&'a [u8])
UTF-8 bytes validated during the full parse.
ListWords(&'a [u64])
Canonical list words in the same form used by opaque state hashing.
Trait Implementations§
Source§impl<'a> Clone for DecodedValue<'a>
impl<'a> Clone for DecodedValue<'a>
impl<'a> Copy for DecodedValue<'a>
Source§impl<'a> Debug for DecodedValue<'a>
impl<'a> Debug for DecodedValue<'a>
impl<'a> Eq for DecodedValue<'a>
Source§impl<'a> PartialEq for DecodedValue<'a>
impl<'a> PartialEq for DecodedValue<'a>
impl<'a> StructuralPartialEq for DecodedValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for DecodedValue<'a>
impl<'a> RefUnwindSafe for DecodedValue<'a>
impl<'a> Send for DecodedValue<'a>
impl<'a> Sync for DecodedValue<'a>
impl<'a> Unpin for DecodedValue<'a>
impl<'a> UnsafeUnpin for DecodedValue<'a>
impl<'a> UnwindSafe for DecodedValue<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more