Skip to content

Commit

Permalink
deploy: 595d333
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenj committed Feb 10, 2023
1 parent 3bd39ec commit 6864676
Show file tree
Hide file tree
Showing 37 changed files with 62 additions and 62 deletions.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions main/06_rust_api/rust/iapyx/enum.ArtificialUserLoadError.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions main/06_rust_api/rust/iapyx/enum.ControllerBuilderError.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions main/06_rust_api/rust/iapyx/enum.ControllerError.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions main/06_rust_api/rust/iapyx/enum.MultiControllerError.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions main/06_rust_api/rust/iapyx/enum.WalletError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions main/06_rust_api/rust/iapyx/struct.Controller.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!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="Responsible for all wallet operations from voting to retrieving information about proposals or voting power"><meta name="keywords" content="rust, rustlang, rust-lang, Controller"><title>Controller in iapyx - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></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="sidebar-logo" href="../iapyx/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../iapyx/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Controller</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.backend">backend</a></li><li><a href="#structfield.block_date_generator">block_date_generator</a></li><li><a href="#structfield.settings">settings</a></li><li><a href="#structfield.wallet">wallet</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.account">account</a></li><li><a href="#method.active_vote_plan">active_vote_plan</a></li><li><a href="#method.confirm_all_transactions">confirm_all_transactions</a></li><li><a href="#method.confirm_transaction">confirm_transaction</a></li><li><a href="#method.fragment_logs">fragment_logs</a></li><li><a href="#method.funds">funds</a></li><li><a href="#method.get_account_state">get_account_state</a></li><li><a href="#method.get_proposals">get_proposals</a></li><li><a href="#method.id">id</a></li><li><a href="#method.pending_transactions">pending_transactions</a></li><li><a href="#method.proposals">proposals</a></li><li><a href="#method.refresh_state">refresh_state</a></li><li><a href="#method.remove_pending_transaction">remove_pending_transaction</a></li><li><a href="#method.send_fragment">send_fragment</a></li><li><a href="#method.send_fragments">send_fragments</a></li><li><a href="#method.set_block_date_generator">set_block_date_generator</a></li><li><a href="#method.settings">settings</a></li><li><a href="#method.switch_backend">switch_backend</a></li><li><a href="#method.total_value">total_value</a></li><li><a href="#method.vote">vote</a></li><li><a href="#method.vote_for">vote_for</a></li><li><a href="#method.vote_plan_history">vote_plan_history</a></li><li><a href="#method.votes_batch">votes_batch</a></li><li><a href="#method.votes_history">votes_history</a></li><li><a href="#method.wait_for_pending_transactions">wait_for_pending_transactions</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe-for-Controller">!RefUnwindSafe</a></li><li><a href="#impl-Send-for-Controller">Send</a></li><li><a href="#impl-Sync-for-Controller">Sync</a></li><li><a href="#impl-Unpin-for-Controller">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Controller">!UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any-for-Controller">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-Controller">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-Controller">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Fake-for-Controller">Fake</a></li><li><a href="#impl-From%3CT%3E-for-Controller">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-Controller">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-Controller">Into&lt;U&gt;</a></li><li><a href="#impl-IntoRequest%3CT%3E-for-Controller">IntoRequest&lt;T&gt;</a></li><li><a href="#impl-IntoSql-for-Controller">IntoSql</a></li><li><a href="#impl-OwoColorize-for-Controller">OwoColorize</a></li><li><a href="#impl-Pointable-for-Controller">Pointable</a></li><li><a href="#impl-Same%3CT%3E-for-Controller">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-Controller">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-Controller">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-Controller">VZip&lt;V&gt;</a></li><li><a href="#impl-WithSubscriber-for-Controller">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In iapyx</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../iapyx/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Struct <a href="index.html">iapyx</a>::<wbr><a class="struct" href="#">Controller</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/iapyx/controller/mod.rs.html#25-34">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct Controller {
pub backend: <a class="struct" href="../valgrind/client/struct.ValgrindClient.html" title="struct valgrind::client::ValgrindClient">ValgrindClient</a>,
pub backend: ValgrindClient,
pub wallet: <a class="struct" href="struct.Wallet.html" title="struct iapyx::Wallet">Wallet</a>,
pub settings: <a class="struct" href="../wallet/blockchain/struct.Settings.html" title="struct wallet::blockchain::Settings">Settings</a>,
pub block_date_generator: BlockDateGenerator,
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Responsible for all wallet operations from voting to retrieving information about proposals or
voting power</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.backend" class="structfield small-section-header"><a href="#structfield.backend" class="anchor field"></a><code>backend: <a class="struct" href="../valgrind/client/struct.ValgrindClient.html" title="struct valgrind::client::ValgrindClient">ValgrindClient</a></code></span><div class="docblock"><p>Catalyst backend client</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.backend" class="structfield small-section-header"><a href="#structfield.backend" class="anchor field"></a><code>backend: ValgrindClient</code></span><div class="docblock"><p>Catalyst backend client</p>
</div><span id="structfield.wallet" class="structfield small-section-header"><a href="#structfield.wallet" class="anchor field"></a><code>wallet: <a class="struct" href="struct.Wallet.html" title="struct iapyx::Wallet">Wallet</a></code></span><div class="docblock"><p>Wallet state</p>
</div><span id="structfield.settings" class="structfield small-section-header"><a href="#structfield.settings" class="anchor field"></a><code>settings: <a class="struct" href="../wallet/blockchain/struct.Settings.html" title="struct wallet::blockchain::Settings">Settings</a></code></span><div class="docblock"><p>Cached blockchain settings</p>
</div><span id="structfield.block_date_generator" class="structfield small-section-header"><a href="#structfield.block_date_generator" class="anchor field"></a><code>block_date_generator: BlockDateGenerator</code></span><div class="docblock"><p>Expiry date generator</p>
Expand Down
2 changes: 1 addition & 1 deletion main/06_rust_api/rust/iapyx/struct.ControllerBuilder.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
</div></details><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-ControllerBuilder" class="impl has-srclink"><a class="srclink rightside" href="../src/iapyx/controller/builder.rs.html#30-188">source</a><a href="#impl-ControllerBuilder" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.ControllerBuilder.html" title="struct iapyx::ControllerBuilder">ControllerBuilder</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_backend_from_address" class="method has-srclink"><a class="srclink rightside" href="../src/iapyx/controller/builder.rs.html#37-46">source</a><h4 class="code-header">pub fn <a href="#method.with_backend_from_address" class="fnname">with_backend_from_address</a>&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.65.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;proxy_address: S,<br>&nbsp;&nbsp;&nbsp;&nbsp;backend_settings: <a class="struct" href="../jormungandr_automation/jormungandr/rest/settings/struct.RestSettings.html" title="struct jormungandr_automation::jormungandr::rest::settings::RestSettings">ValgrindSettings</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.65.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.ControllerBuilderError.html" title="enum iapyx::ControllerBuilderError">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Sets backend from address along with connectivity setup (like cors/https)</p>
<h5 id="errors"><a href="#errors">Errors</a></h5>
<p>On connectivity issues with given address</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_backend_from_client" class="method has-srclink"><a class="srclink rightside" href="../src/iapyx/controller/builder.rs.html#54-58">source</a><h4 class="code-header">pub fn <a href="#method.with_backend_from_client" class="fnname">with_backend_from_client</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;backend: <a class="struct" href="../valgrind/client/struct.ValgrindClient.html" title="struct valgrind::client::ValgrindClient">ValgrindClient</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.65.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.ControllerBuilderError.html" title="enum iapyx::ControllerBuilderError">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Sets backend from <code>ValgrindClient</code> struct</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_backend_from_client" class="method has-srclink"><a class="srclink rightside" href="../src/iapyx/controller/builder.rs.html#54-58">source</a><h4 class="code-header">pub fn <a href="#method.with_backend_from_client" class="fnname">with_backend_from_client</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;backend: ValgrindClient<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.65.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.ControllerBuilderError.html" title="enum iapyx::ControllerBuilderError">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Sets backend from <code>ValgrindClient</code> struct</p>
<h5 id="errors-1"><a href="#errors-1">Errors</a></h5>
<p>On connectivity issues with given address</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_wallet_from_secret_file" class="method has-srclink"><a class="srclink rightside" href="../src/iapyx/controller/builder.rs.html#68-79">source</a><h4 class="code-header">pub fn <a href="#method.with_wallet_from_secret_file" class="fnname">with_wallet_from_secret_file</a>&lt;P:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.65.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.65.0/std/path/struct.Path.html" title="struct std::path::Path">Path</a>&gt;&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;private_key: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.65.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.ControllerBuilderError.html" title="enum iapyx::ControllerBuilderError">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Sets wallet based on secret file with bech32 secret key</p>
Expand Down

Large diffs are not rendered by default.

0 comments on commit 6864676

Please sign in to comment.