Expand description
A variant of sval::Stream
for cases where a recursive API is needed.
§Limitations
Streaming via sval_nested
will discard any sval::Stream::tag_hint
s. sval
allows tag hints to
appear anywhere in a stream, but this library enforces a stricter lifecycle, making those hints unreliable.
Modules§
- default_
stream - Default method implementations for the
Stream
trait.
Structs§
- Error
- An error encountered buffering data.
- Ref
- Adapt an
sval::Value
into aValueRef
. - Unsupported
- A placeholder for a kind of value that isn’t supported by a particular stream.
Traits§
- Stream
- A recursive variant of
sval::Stream
. - Stream
Enum - A stream for an enum.
- Stream
Map - A stream for a map.
- Stream
Record - A stream for a record.
- Stream
Seq - A stream for a sequence.
- Stream
Tuple - A stream for a tuple.
- Value
Ref - A producer of structured data that stores a reference internally.
Functions§
- stream
- Stream a value through a stream.
- stream_
computed - Stream a value through a stream with an arbitrarily short lifetime.
- stream_
ref - Stream a value through a stream.
Type Aliases§
- Result
- A generic streaming result.