automerge/automerge_wasm/struct.Automerge.html
2023-03-09 15:11:59 +00:00

20 lines
No EOL
92 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Automerge` struct in crate `automerge_wasm`."><meta name="keywords" content="rust, rustlang, rust-lang, Automerge"><title>Automerge in automerge_wasm - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-93196c7a1c3542a8.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-4743e13df3dfe8c4.css"><link rel="stylesheet" disabled href="../static.files/dark-0e1b889528bd466b.css"><link rel="stylesheet" disabled href="../static.files/ayu-65289d5d067c7c66.css"><script id="default-settings" ></script><script src="../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-3367e395607fafc1.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="icon" href="https:///raw.githubusercontent.com/automerge/automerge-rs/main/img/favicon.ico"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../automerge_wasm/index.html"><img src="https://raw.githubusercontent.com/automerge/automerge-rs/main/img/brandmark.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../automerge_wasm/index.html">
<img src="https://raw.githubusercontent.com/automerge/automerge-rs/main/img/brandmark.svg" alt="logo"></a><h2 class="location"><a href="#">Automerge</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.apply_changes">apply_changes</a></li><li><a href="#method.apply_patches">apply_patches</a></li><li><a href="#method.clone">clone</a></li><li><a href="#method.commit">commit</a></li><li><a href="#method.delete">delete</a></li><li><a href="#method.dump">dump</a></li><li><a href="#method.empty_change">empty_change</a></li><li><a href="#method.enable_freeze">enable_freeze</a></li><li><a href="#method.enable_patches">enable_patches</a></li><li><a href="#method.fork">fork</a></li><li><a href="#method.generate_sync_message">generate_sync_message</a></li><li><a href="#method.get">get</a></li><li><a href="#method.get_actor_id">get_actor_id</a></li><li><a href="#method.get_all">get_all</a></li><li><a href="#method.get_change_by_hash">get_change_by_hash</a></li><li><a href="#method.get_changes">get_changes</a></li><li><a href="#method.get_changes_added">get_changes_added</a></li><li><a href="#method.get_heads">get_heads</a></li><li><a href="#method.get_last_local_change">get_last_local_change</a></li><li><a href="#method.get_missing_deps">get_missing_deps</a></li><li><a href="#method.get_with_type">get_with_type</a></li><li><a href="#method.increment">increment</a></li><li><a href="#method.insert">insert</a></li><li><a href="#method.insert_object">insert_object</a></li><li><a href="#method.keys">keys</a></li><li><a href="#method.length">length</a></li><li><a href="#method.load_incremental">load_incremental</a></li><li><a href="#method.materialize">materialize</a></li><li><a href="#method.merge">merge</a></li><li><a href="#method.new">new</a></li><li><a href="#method.pending_ops">pending_ops</a></li><li><a href="#method.pop_patches">pop_patches</a></li><li><a href="#method.push">push</a></li><li><a href="#method.push_object">push_object</a></li><li><a href="#method.put">put</a></li><li><a href="#method.put_object">put_object</a></li><li><a href="#method.receive_sync_message">receive_sync_message</a></li><li><a href="#method.register_datatype">register_datatype</a></li><li><a href="#method.rollback">rollback</a></li><li><a href="#method.save">save</a></li><li><a href="#method.save_incremental">save_incremental</a></li><li><a href="#method.splice">splice</a></li><li><a href="#method.text">text</a></li><li><a href="#method.to_js">to_js</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Debug-for-Automerge">Debug</a></li><li><a href="#impl-From%3CAutomerge%3E-for-JsValue">From&lt;Automerge&gt;</a></li><li><a href="#impl-FromWasmAbi-for-Automerge">FromWasmAbi</a></li><li><a href="#impl-IntoWasmAbi-for-Automerge">IntoWasmAbi</a></li><li><a href="#impl-LongRefFromWasmAbi-for-Automerge">LongRefFromWasmAbi</a></li><li><a href="#impl-OptionFromWasmAbi-for-Automerge">OptionFromWasmAbi</a></li><li><a href="#impl-OptionIntoWasmAbi-for-Automerge">OptionIntoWasmAbi</a></li><li><a href="#impl-RefFromWasmAbi-for-Automerge">RefFromWasmAbi</a></li><li><a href="#impl-RefMutFromWasmAbi-for-Automerge">RefMutFromWasmAbi</a></li><li><a href="#impl-WasmDescribe-for-Automerge">WasmDescribe</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-Automerge">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Automerge">!Send</a></li><li><a href="#impl-Sync-for-Automerge">!Sync</a></li><li><a href="#impl-Unpin-for-Automerge">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Automerge">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-Automerge">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-Automerge">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-Automerge">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-Automerge">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-Automerge">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-Automerge">Into&lt;U&gt;</a></li><li><a href="#impl-ReturnWasmAbi-for-Automerge">ReturnWasmAbi</a></li><li><a href="#impl-Same%3CT%3E-for-Automerge">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-Automerge">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-Automerge">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-Automerge">VZip&lt;V&gt;</a></li><li><a href="#impl-WithSubscriber-for-Automerge">WithSubscriber</a></li></ul></section><h2><a href="index.html">In automerge_wasm</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-5ec35bf9ca753509.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="index.html">automerge_wasm</a>::<wbr><a class="struct" href="#">Automerge</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/automerge_wasm/lib.rs.html#87-92">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust"><code>pub struct Automerge { /* private fields */ }</code></pre></div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#95-789">source</a><a href="#impl-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#96-111">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;actor: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;text_rep: <a class="enum" href="enum.TextRepresentation.html" title="enum automerge_wasm::TextRepresentation">TextRepresentation</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>, <a class="struct" href="error/struct.BadActorId.html" title="struct automerge_wasm::error::BadActorId">BadActorId</a>&gt;</h4></section><section id="method.clone" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#114-126">source</a><h4 class="code-header">pub fn <a href="#method.clone" class="fn">clone</a>(&amp;mut self, actor: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>, <a class="struct" href="error/struct.BadActorId.html" title="struct automerge_wasm::error::BadActorId">BadActorId</a>&gt;</h4></section><section id="method.fork" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#128-151">source</a><h4 class="code-header">pub fn <a href="#method.fork" class="fn">fork</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;actor: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;heads: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>, <a class="enum" href="error/enum.Fork.html" title="enum automerge_wasm::error::Fork">Fork</a>&gt;</h4></section><section id="method.pending_ops" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#154-156">source</a><h4 class="code-header">pub fn <a href="#method.pending_ops" class="fn">pending_ops</a>(&amp;self) -&gt; <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></h4></section><section id="method.commit" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#158-171">source</a><h4 class="code-header">pub fn <a href="#method.commit" class="fn">commit</a>(&amp;mut self, message: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, time: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a>&gt;) -&gt; <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></h4></section><section id="method.merge" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#173-180">source</a><h4 class="code-header">pub fn <a href="#method.merge" class="fn">merge</a>(&amp;mut self, other: &amp;mut <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>, <a class="struct" href="error/struct.Merge.html" title="struct automerge_wasm::error::Merge">Merge</a>&gt;</h4></section><section id="method.rollback" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#182-184">source</a><h4 class="code-header">pub fn <a href="#method.rollback" class="fn">rollback</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a></h4></section><section id="method.keys" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#186-197">source</a><h4 class="code-header">pub fn <a href="#method.keys" class="fn">keys</a>(&amp;self, obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, heads: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.text" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#199-206">source</a><h4 class="code-header">pub fn <a href="#method.text" class="fn">text</a>(&amp;self, obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, heads: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.splice" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#208-260">source</a><h4 class="code-header">pub fn <a href="#method.splice" class="fn">splice</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;start: <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;delete_count: <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;text: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.Splice.html" title="enum automerge_wasm::error::Splice">Splice</a>&gt;</h4></section><section id="method.push" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#262-275">source</a><h4 class="code-header">pub fn <a href="#method.push" class="fn">push</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;datatype: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.Insert.html" title="enum automerge_wasm::error::Insert">Insert</a>&gt;</h4></section><section id="method.push_object" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#278-302">source</a><h4 class="code-header">pub fn <a href="#method.push_object" class="fn">push_object</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="enum" href="error/enum.InsertObject.html" title="enum automerge_wasm::error::InsertObject">InsertObject</a>&gt;</h4></section><section id="method.insert" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#304-317">source</a><h4 class="code-header">pub fn <a href="#method.insert" class="fn">insert</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;index: <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;datatype: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.Insert.html" title="enum automerge_wasm::error::Insert">Insert</a>&gt;</h4></section><section id="method.insert_object" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#320-344">source</a><h4 class="code-header">pub fn <a href="#method.insert_object" class="fn">insert_object</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;index: <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="enum" href="error/enum.InsertObject.html" title="enum automerge_wasm::error::InsertObject">InsertObject</a>&gt;</h4></section><section id="method.put" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#346-360">source</a><h4 class="code-header">pub fn <a href="#method.put" class="fn">put</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;prop: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;datatype: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.Insert.html" title="enum automerge_wasm::error::Insert">Insert</a>&gt;</h4></section><section id="method.put_object" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#363-386">source</a><h4 class="code-header">pub fn <a href="#method.put_object" class="fn">put_object</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;prop: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="enum" href="error/enum.InsertObject.html" title="enum automerge_wasm::error::InsertObject">InsertObject</a>&gt;</h4></section><section id="method.increment" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#421-432">source</a><h4 class="code-header">pub fn <a href="#method.increment" class="fn">increment</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;prop: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.Increment.html" title="enum automerge_wasm::error::Increment">Increment</a>&gt;</h4></section><section id="method.get" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#435-461">source</a><h4 class="code-header">pub fn <a href="#method.get" class="fn">get</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;prop: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;heads: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.get_with_type" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#464-501">source</a><h4 class="code-header">pub fn <a href="#method.get_with_type" class="fn">get_with_type</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;prop: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;heads: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.get_all" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#504-531">source</a><h4 class="code-header">pub fn <a href="#method.get_all" class="fn">get_all</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;arg: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;heads: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.enable_freeze" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#534-541">source</a><h4 class="code-header">pub fn <a href="#method.enable_freeze" class="fn">enable_freeze</a>(&amp;mut self, enable: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</h4></section><section id="method.enable_patches" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#544-551">source</a><h4 class="code-header">pub fn <a href="#method.enable_patches" class="fn">enable_patches</a>(&amp;mut self, enable: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</h4></section><section id="method.register_datatype" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#554-566">source</a><h4 class="code-header">pub fn <a href="#method.register_datatype" class="fn">register_datatype</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;datatype: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;function: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, InvalidDatatype&gt;</h4></section><section id="method.apply_patches" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#569-611">source</a><h4 class="code-header">pub fn <a href="#method.apply_patches" class="fn">apply_patches</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;object: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;meta: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;callback: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="enum" href="error/enum.ApplyPatch.html" title="enum automerge_wasm::error::ApplyPatch">ApplyPatch</a>&gt;</h4></section><section id="method.pop_patches" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#614-625">source</a><h4 class="code-header">pub fn <a href="#method.pop_patches" class="fn">pop_patches</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>, <a class="struct" href="error/struct.PopPatches.html" title="struct automerge_wasm::error::PopPatches">PopPatches</a>&gt;</h4></section><section id="method.length" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#627-634">source</a><h4 class="code-header">pub fn <a href="#method.length" class="fn">length</a>(&amp;self, obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, heads: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.delete" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#636-641">source</a><h4 class="code-header">pub fn <a href="#method.delete" class="fn">delete</a>(&amp;mut self, obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, prop: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.save" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#643-645">source</a><h4 class="code-header">pub fn <a href="#method.save" class="fn">save</a>(&amp;mut self) -&gt; <a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Uint8Array.html" title="struct js_sys::Uint8Array">Uint8Array</a></h4></section><section id="method.save_incremental" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#648-651">source</a><h4 class="code-header">pub fn <a href="#method.save_incremental" class="fn">save_incremental</a>(&amp;mut self) -&gt; <a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Uint8Array.html" title="struct js_sys::Uint8Array">Uint8Array</a></h4></section><section id="method.load_incremental" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#654-658">source</a><h4 class="code-header">pub fn <a href="#method.load_incremental" class="fn">load_incremental</a>(&amp;mut self, data: <a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Uint8Array.html" title="struct js_sys::Uint8Array">Uint8Array</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a>, <a class="enum" href="error/enum.Load.html" title="enum automerge_wasm::error::Load">Load</a>&gt;</h4></section><section id="method.apply_changes" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#661-665">source</a><h4 class="code-header">pub fn <a href="#method.apply_changes" class="fn">apply_changes</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;changes: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.ApplyChangesError.html" title="enum automerge_wasm::error::ApplyChangesError">ApplyChangesError</a>&gt;</h4></section><section id="method.get_changes" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#668-676">source</a><h4 class="code-header">pub fn <a href="#method.get_changes" class="fn">get_changes</a>(&amp;mut self, have_deps: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.get_change_by_hash" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#679-690">source</a><h4 class="code-header">pub fn <a href="#method.get_change_by_hash" class="fn">get_change_by_hash</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;hash: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, BadChangeHash&gt;</h4></section><section id="method.get_changes_added" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#693-700">source</a><h4 class="code-header">pub fn <a href="#method.get_changes_added" class="fn">get_changes_added</a>(&amp;mut self, other: &amp;mut <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>) -&gt; <a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></h4></section><section id="method.get_heads" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#703-710">source</a><h4 class="code-header">pub fn <a href="#method.get_heads" class="fn">get_heads</a>(&amp;mut self) -&gt; <a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></h4></section><section id="method.get_actor_id" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#713-716">source</a><h4 class="code-header">pub fn <a href="#method.get_actor_id" class="fn">get_actor_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.get_last_local_change" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#719-725">source</a><h4 class="code-header">pub fn <a href="#method.get_last_local_change" class="fn">get_last_local_change</a>(&amp;mut self) -&gt; <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></h4></section><section id="method.dump" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#727-729">source</a><h4 class="code-header">pub fn <a href="#method.dump" class="fn">dump</a>(&amp;mut self)</h4></section><section id="method.get_missing_deps" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#732-740">source</a><h4 class="code-header">pub fn <a href="#method.get_missing_deps" class="fn">get_missing_deps</a>(&amp;mut self, heads: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>, <a class="enum" href="error/enum.Get.html" title="enum automerge_wasm::error::Get">Get</a>&gt;</h4></section><section id="method.receive_sync_message" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#743-754">source</a><h4 class="code-header">pub fn <a href="#method.receive_sync_message" class="fn">receive_sync_message</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;state: &amp;mut SyncState,<br>&nbsp;&nbsp;&nbsp;&nbsp;message: <a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Uint8Array.html" title="struct js_sys::Uint8Array">Uint8Array</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.ReceiveSyncMessage.html" title="enum automerge_wasm::error::ReceiveSyncMessage">ReceiveSyncMessage</a>&gt;</h4></section><section id="method.generate_sync_message" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#757-763">source</a><h4 class="code-header">pub fn <a href="#method.generate_sync_message" class="fn">generate_sync_message</a>(&amp;mut self, state: &amp;mut SyncState) -&gt; <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></h4></section><section id="method.to_js" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#766-768">source</a><h4 class="code-header">pub fn <a href="#method.to_js" class="fn">to_js</a>(&amp;mut self, meta: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, Export&gt;</h4></section><section id="method.materialize" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#770-780">source</a><h4 class="code-header">pub fn <a href="#method.materialize" class="fn">materialize</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;heads: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://docs.rs/js-sys/0.2/js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;meta: <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="enum" href="error/enum.Materialize.html" title="enum automerge_wasm::error::Materialize">Materialize</a>&gt;</h4></section><section id="method.empty_change" class="method has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#783-788">source</a><h4 class="code-header">pub fn <a href="#method.empty_change" class="fn">empty_change</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;message: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.68.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;time: <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.f64.html">f64</a>&gt;<br>) -&gt; <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#86">source</a><a href="#impl-Debug-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#86">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.68.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.68.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.68.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CAutomerge%3E-for-JsValue" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-From%3CAutomerge%3E-for-JsValue" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>&gt; for <a class="struct" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromWasmAbi-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-FromWasmAbi-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.FromWasmAbi.html" title="trait wasm_bindgen::convert::traits::FromWasmAbi">FromWasmAbi</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Abi-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Abi-1" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" class="associatedtype">Abi</a> = <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>The wasm ABI type that this converts from when coming back out from the
ABI boundary.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_abi" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.from_abi" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.FromWasmAbi.html#tymethod.from_abi" class="fn">from_abi</a>(js: <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.u32.html">u32</a>) -&gt; Self</h4></section></summary><div class='docblock'>Recover a <code>Self</code> from <code>Self::Abi</code>. <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.FromWasmAbi.html#tymethod.from_abi">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IntoWasmAbi-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-IntoWasmAbi-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Abi" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Abi" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" class="associatedtype">Abi</a> = <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>The wasm ABI type that this converts into when crossing the ABI
boundary.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_abi" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.into_abi" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#tymethod.into_abi" class="fn">into_abi</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Convert <code>self</code> into <code>Self::Abi</code> so that it can be sent across the wasm
ABI boundary.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LongRefFromWasmAbi-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-LongRefFromWasmAbi-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.LongRefFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::LongRefFromWasmAbi">LongRefFromWasmAbi</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Abi-4" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Abi-4" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.LongRefFromWasmAbi.html#associatedtype.Abi" class="associatedtype">Abi</a> = <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Same as <code>RefFromWasmAbi::Abi</code></div></details><details class="toggle" open><summary><section id="associatedtype.Anchor-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Anchor-2" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.LongRefFromWasmAbi.html#associatedtype.Anchor" class="associatedtype">Anchor</a> = Ref&lt;'static, <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>&gt;</h4></section></summary><div class='docblock'>Same as <code>RefFromWasmAbi::Anchor</code></div></details><details class="toggle method-toggle" open><summary><section id="method.long_ref_from_abi" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.long_ref_from_abi" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.LongRefFromWasmAbi.html#tymethod.long_ref_from_abi" class="fn">long_ref_from_abi</a>(js: Self::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.LongRefFromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::LongRefFromWasmAbi::Abi">Abi</a>) -&gt; Self::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.LongRefFromWasmAbi.html#associatedtype.Anchor" title="type wasm_bindgen::convert::traits::LongRefFromWasmAbi::Anchor">Anchor</a></h4></section></summary><div class='docblock'>Same as <code>RefFromWasmAbi::ref_from_abi</code></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OptionFromWasmAbi-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-OptionFromWasmAbi-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.OptionFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionFromWasmAbi">OptionFromWasmAbi</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.is_none" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.is_none" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.OptionFromWasmAbi.html#tymethod.is_none" class="fn">is_none</a>(abi: &amp;Self::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::FromWasmAbi::Abi">Abi</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests whether the argument is a “none” instance. If so it will be
deserialized as <code>None</code>, and otherwise it will be passed to
<code>FromWasmAbi</code>.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OptionIntoWasmAbi-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-OptionIntoWasmAbi-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionIntoWasmAbi">OptionIntoWasmAbi</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.none" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.none" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html#tymethod.none" class="fn">none</a>() -&gt; Self::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></h4></section></summary><div class='docblock'>Returns an ABI instance indicating “none”, which JS will interpret as
the <code>None</code> branch of this option. <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html#tymethod.none">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RefFromWasmAbi-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-RefFromWasmAbi-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::RefFromWasmAbi">RefFromWasmAbi</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Abi-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Abi-2" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Abi" class="associatedtype">Abi</a> = <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>The wasm ABI type references to <code>Self</code> are recovered from.</div></details><details class="toggle" open><summary><section id="associatedtype.Anchor" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Anchor" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Anchor" class="associatedtype">Anchor</a> = Ref&lt;'static, <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>&gt;</h4></section></summary><div class='docblock'>The type that holds the reference to <code>Self</code> for the duration of the
invocation of the function that has an <code>&amp;Self</code> parameter. This is
required to ensure that the lifetimes dont persist beyond one function
call, and so that they remain anonymous.</div></details><details class="toggle method-toggle" open><summary><section id="method.ref_from_abi" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.ref_from_abi" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#tymethod.ref_from_abi" class="fn">ref_from_abi</a>(js: Self::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::RefFromWasmAbi::Abi">Abi</a>) -&gt; Self::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Anchor" title="type wasm_bindgen::convert::traits::RefFromWasmAbi::Anchor">Anchor</a></h4></section></summary><div class='docblock'>Recover a <code>Self::Anchor</code> from <code>Self::Abi</code>. <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#tymethod.ref_from_abi">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RefMutFromWasmAbi-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-RefMutFromWasmAbi-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefMutFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::RefMutFromWasmAbi">RefMutFromWasmAbi</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Abi-3" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Abi-3" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefMutFromWasmAbi.html#associatedtype.Abi" class="associatedtype">Abi</a> = <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Same as <code>RefFromWasmAbi::Abi</code></div></details><details class="toggle" open><summary><section id="associatedtype.Anchor-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Anchor-1" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefMutFromWasmAbi.html#associatedtype.Anchor" class="associatedtype">Anchor</a> = RefMut&lt;'static, <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a>&gt;</h4></section></summary><div class='docblock'>Same as <code>RefFromWasmAbi::Anchor</code></div></details><details class="toggle method-toggle" open><summary><section id="method.ref_mut_from_abi" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.ref_mut_from_abi" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefMutFromWasmAbi.html#tymethod.ref_mut_from_abi" class="fn">ref_mut_from_abi</a>(js: Self::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefMutFromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::RefMutFromWasmAbi::Abi">Abi</a>) -&gt; Self::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.RefMutFromWasmAbi.html#associatedtype.Anchor" title="type wasm_bindgen::convert::traits::RefMutFromWasmAbi::Anchor">Anchor</a></h4></section></summary><div class='docblock'>Same as <code>RefFromWasmAbi::ref_from_abi</code></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WasmDescribe-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#impl-WasmDescribe-for-Automerge" class="anchor">§</a><h3 class="code-header">impl WasmDescribe for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></summary><div class="impl-items"><section id="method.describe" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/automerge_wasm/lib.rs.html#85">source</a><a href="#method.describe" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.describe" class="fn">describe</a>()</h4></section></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-Automerge" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section><section id="impl-Send-for-Automerge" class="impl has-srclink"><a href="#impl-Send-for-Automerge" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.68.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section><section id="impl-Sync-for-Automerge" class="impl has-srclink"><a href="#impl-Sync-for-Automerge" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.68.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section><section id="impl-Unpin-for-Automerge" class="impl has-srclink"><a href="#impl-Unpin-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section><section id="impl-UnwindSafe-for-Automerge" class="impl has-srclink"><a href="#impl-UnwindSafe-for-Automerge" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Automerge.html" title="struct automerge_wasm::Automerge">Automerge</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.68.0/src/core/any.rs.html#200">source</a><a href="#impl-Any-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.68.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.68.0/src/core/any.rs.html#201">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.68.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.68.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.68.0/src/core/borrow.rs.html#211">source</a><a href="#impl-Borrow%3CT%3E-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.68.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.68.0/src/core/borrow.rs.html#213">source</a></span><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.68.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.68.0/src/core/borrow.rs.html#220">source</a><a href="#impl-BorrowMut%3CT%3E-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.68.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.68.0/src/core/borrow.rs.html#221">source</a></span><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.68.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.68.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.68.0/src/core/convert/mod.rs.html#733">source</a><a href="#impl-From%3CT%3E-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.68.0/src/core/convert/mod.rs.html#736">source</a></span><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a><a href="#impl-Instrument-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#82">source</a><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html#method.current">current</a> <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.68.0/src/core/convert/mod.rs.html#717">source</a><a href="#impl-Into%3CU%3E-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.68.0/src/core/convert/mod.rs.html#725">source</a></span><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.68.0/core/convert/trait.From.html" title="From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ReturnWasmAbi-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/wasm-bindgen/0.2/src/wasm_bindgen/convert/traits.rs.html#151">source</a><a href="#impl-ReturnWasmAbi-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html" title="trait wasm_bindgen::convert::traits::ReturnWasmAbi">ReturnWasmAbi</a> for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Abi-5" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Abi-5" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#associatedtype.Abi" class="associatedtype">Abi</a> = &lt;T as <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>&gt;::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></h4></section></summary><div class='docblock'>Same as <code>IntoWasmAbi::Abi</code></div></details><details class="toggle method-toggle" open><summary><section id="method.return_abi" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/wasm-bindgen/0.2/src/wasm_bindgen/convert/traits.rs.html#155">source</a><a href="#method.return_abi" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#tymethod.return_abi" class="fn">return_abi</a>(self) -&gt; &lt;T as <a class="trait" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html" title="trait wasm_bindgen::convert::traits::ReturnWasmAbi">ReturnWasmAbi</a>&gt;::<a class="associatedtype" href="https://docs.rs/wasm-bindgen/0.2/wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::ReturnWasmAbi::Abi">Abi</a></h4></section></summary><div class='docblock'>Same as <code>IntoWasmAbi::into_abi</code>, except that it may throw and never
return in the case of <code>Err</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same%3CT%3E-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/typenum/1.16.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same%3CT%3E-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.68.0/src/core/convert/mod.rs.html#775">source</a><a href="#impl-TryFrom%3CU%3E-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.68.0/src/core/convert/mod.rs.html#781">source</a></span><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.68.0/src/core/convert/mod.rs.html#760">source</a><a href="#impl-TryInto%3CU%3E-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.68.0/src/core/convert/mod.rs.html#766">source</a></span><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.68.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-Automerge" class="impl has-srclink"><a href="#impl-VZip%3CV%3E-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;V, T&gt; VZip&lt;V&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;V: MultiLane&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl has-srclink"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -&gt; V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-Automerge" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#334">source</a><a href="#impl-WithSubscriber-for-Automerge" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html" title="trait tracing::instrument::WithSubscriber">WithSubscriber</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#169-171">source</a><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a>&lt;S&gt;(self, subscriber: S) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a>&lt;Self&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/1.68.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="https://docs.rs/tracing-core/0.1.22/tracing_core/dispatcher/struct.Dispatch.html" title="struct tracing_core::dispatcher::Dispatch">Dispatch</a>&gt;,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<a href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#221">source</a><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/0.1.37/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<a href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="automerge_wasm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.68.0 (2c8cc3432 2023-03-06)" data-search-js="search-98d53477a794af0b.js" data-settings-js="settings-c3c521c753752a1a.js" data-settings-css="settings-08ddfdda51b8ee2e.css" ></div></body></html>