Expand description
This module implements structured cloning, as defined by HTML.
Structsยง
- Structured
Data ๐Reader Reader and writer structs for results from, and inputs to, structured-data read/write operations. https://html.spec.whatwg.org/multipage/#safe-passing-of-structured-data - Structured
Data ๐Writer A data holder for transferred and serialized objects.
Enumsยง
- Structured
Clone ๐Tags
Staticsยง
Functionsยง
- can_
transfer_ ๐ โcallback - free_
transfer_ ๐ โcallback - read ๐Read structured serialized data, possibly containing transferred objects. Returns a vec of rooted transfer-received ports, or an error.
- read_
blob ๐ โ - read_
callback ๐ โ - read_
transfer_ ๐ โcallback - report_
error_ ๐ โcallback - sab_
cloned_ ๐ โcallback - write ๐Writes a structured clone. Returns a
DataClone
error if that fails. - write_
blob ๐ โ - write_
callback ๐ โ - write_
transfer_ ๐ โcallback