This module implements structured cloning, as defined by [HTML] (https://html.spec.whatwg.org/multipage/#safe-passing-of-structured-data).
A data holder for results from, and inputs to, structured-data read/write operations. https://html.spec.whatwg.org/multipage/#safe-passing-of-structured-data
Read structured serialized data, possibly containing transferred objects. Returns a vec of rooted transfer-received ports, or an error.
read_blob 🔒 ⚠
read_callback 🔒 ⚠
Writes a structured clone. Returns a
DataCloneerror if that fails.
write_blob 🔒 ⚠
write_callback 🔒 ⚠