Function script::dom::bindings::structuredclone::read

source ยท
pub fn read(
    global: &GlobalScope,
    data: StructuredSerializedData,
    rval: MutableHandleValue<'_>,
) -> Result<Vec<Root<Dom<MessagePort>>>, ()>
Expand description

Read structured serialized data, possibly containing transferred objects. Returns a vec of rooted transfer-received ports, or an error.