Skip to content

Commit

Permalink
deploy: 38dc6f7
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed Jun 22, 2024
1 parent 8b9d93d commit cf19493
Show file tree
Hide file tree
Showing 116 changed files with 276 additions and 276 deletions.
8 changes: 4 additions & 4 deletions leo_lang/cli/account/enum.Account.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
and needs its output result, this is where the result type is defined.
Example: type Input: <CommandA as Command>::Out</div></details><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="../commands/trait.Command.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="primitive" href="https://doc.rust-lang.org/1.79.0/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Defines the output of this command, which may be used as <code>Input</code> for another
command. If this command is not used as a prelude for another command,
this field may be left empty.</div></details><details class="toggle method-toggle" open><summary><section id="method.prelude" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#109-114">source</a><a href="#method.prelude" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#tymethod.prelude" class="fn">prelude</a>(&amp;self, _: <a class="struct" href="../helpers/context/struct.Context.html" title="struct leo_lang::cli::helpers::context::Context">Context</a>) -&gt; <a class="type" href="../../../leo_errors/errors/type.Result.html" title="type leo_errors::errors::Result">Result</a>&lt;Self::<a class="associatedtype" href="../commands/trait.Command.html#associatedtype.Input" title="type leo_lang::cli::commands::Command::Input">Input</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Runs the prelude and returns the Input of the current command.</div></details><details class="toggle method-toggle" open><summary><section id="method.apply" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#116-161">source</a><a href="#method.apply" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#tymethod.apply" class="fn">apply</a>(self, ctx: <a class="struct" href="../helpers/context/struct.Context.html" title="struct leo_lang::cli::helpers::context::Context">Context</a>, _: Self::<a class="associatedtype" href="../commands/trait.Command.html#associatedtype.Input" title="type leo_lang::cli::commands::Command::Input">Input</a>) -&gt; <a class="type" href="../../../leo_errors/errors/type.Result.html" title="type leo_errors::errors::Result">Result</a>&lt;Self::<a class="associatedtype" href="../commands/trait.Command.html#associatedtype.Output" title="type leo_lang::cli::commands::Command::Output">Output</a>&gt;<div class="where">where
this field may be left empty.</div></details><details class="toggle method-toggle" open><summary><section id="method.prelude" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#109-114">source</a><a href="#method.prelude" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#tymethod.prelude" class="fn">prelude</a>(&amp;self, _: <a class="struct" href="../helpers/context/struct.Context.html" title="struct leo_lang::cli::helpers::context::Context">Context</a>) -&gt; Result&lt;Self::<a class="associatedtype" href="../commands/trait.Command.html#associatedtype.Input" title="type leo_lang::cli::commands::Command::Input">Input</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Runs the prelude and returns the Input of the current command.</div></details><details class="toggle method-toggle" open><summary><section id="method.apply" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#116-161">source</a><a href="#method.apply" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#tymethod.apply" class="fn">apply</a>(self, ctx: <a class="struct" href="../helpers/context/struct.Context.html" title="struct leo_lang::cli::helpers::context::Context">Context</a>, _: Self::<a class="associatedtype" href="../commands/trait.Command.html#associatedtype.Input" title="type leo_lang::cli::commands::Command::Input">Input</a>) -&gt; Result&lt;Self::<a class="associatedtype" href="../commands/trait.Command.html#associatedtype.Output" title="type leo_lang::cli::commands::Command::Output">Output</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Runs the main operation of this command. This function is run within
context of ‘execute’ function, which sets logging and timers.</div></details><details class="toggle method-toggle" open><summary><section id="method.log_span" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/mod.rs.html#86-88">source</a><a href="#method.log_span" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#method.log_span" class="fn">log_span</a>(&amp;self) -&gt; Span</h4></section></summary><div class='docblock'>Adds a span to the logger via <code>tracing::span</code>.
Because of the specifics of the macro implementation, it is not possible
to set the span name with a non-literal i.e. a dynamic variable even if this
variable is a &amp;’static str.</div></details><details class="toggle method-toggle" open><summary><section id="method.execute" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/mod.rs.html#103-119">source</a><a href="#method.execute" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#method.execute" class="fn">execute</a>(self, context: <a class="struct" href="../helpers/context/struct.Context.html" title="struct leo_lang::cli::helpers::context::Context">Context</a>) -&gt; <a class="type" href="../../../leo_errors/errors/type.Result.html" title="type leo_errors::errors::Result">Result</a>&lt;Self::<a class="associatedtype" href="../commands/trait.Command.html#associatedtype.Output" title="type leo_lang::cli::commands::Command::Output">Output</a>&gt;<div class="where">where
variable is a &amp;’static str.</div></details><details class="toggle method-toggle" open><summary><section id="method.execute" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/mod.rs.html#103-119">source</a><a href="#method.execute" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#method.execute" class="fn">execute</a>(self, context: <a class="struct" href="../helpers/context/struct.Context.html" title="struct leo_lang::cli::helpers::context::Context">Context</a>) -&gt; Result&lt;Self::<a class="associatedtype" href="../commands/trait.Command.html#associatedtype.Output" title="type leo_lang::cli::commands::Command::Output">Output</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>A wrapper around the <code>apply</code> method.
This function sets up tracing, timing, and the context.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_execute" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/mod.rs.html#124-129">source</a><a href="#method.try_execute" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#method.try_execute" class="fn">try_execute</a>(self, context: <a class="struct" href="../helpers/context/struct.Context.html" title="struct leo_lang::cli::helpers::context::Context">Context</a>) -&gt; <a class="type" href="../../../leo_errors/errors/type.Result.html" title="type leo_errors::errors::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.79.0/std/primitive.unit.html">()</a>&gt;<div class="where">where
This function sets up tracing, timing, and the context.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_execute" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/mod.rs.html#124-129">source</a><a href="#method.try_execute" class="anchor">§</a><h4 class="code-header">fn <a href="../commands/trait.Command.html#method.try_execute" class="fn">try_execute</a>(self, context: <a class="struct" href="../helpers/context/struct.Context.html" title="struct leo_lang::cli::helpers::context::Context">Context</a>) -&gt; Result&lt;<a class="primitive" href="https://doc.rust-lang.org/1.79.0/std/primitive.unit.html">()</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Executes command but empty the result. Comes in handy where there’s a
need to make match arms compatible while keeping implementation-specific
output possible. Errors however are all of the type Error</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CommandFactory-for-Account" class="impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#37">source</a><a href="#impl-CommandFactory-for-Account" class="anchor">§</a><h3 class="code-header">impl CommandFactory for <a class="enum" href="../commands/account/enum.Account.html" title="enum leo_lang::cli::commands::account::Account">Account</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.command" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#37">source</a><a href="#method.command" class="anchor">§</a><h4 class="code-header">fn <a class="fn">command</a>&lt;'b&gt;() -&gt; Command</h4></section></summary><div class='docblock'>Build a [<code>Command</code>] that can instantiate <code>Self</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.command_for_update" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#37">source</a><a href="#method.command_for_update" class="anchor">§</a><h4 class="code-header">fn <a class="fn">command_for_update</a>&lt;'b&gt;() -&gt; Command</h4></section></summary><div class='docblock'>Build a [<code>Command</code>] that can update <code>self</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Account" class="impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#37">source</a><a href="#impl-Debug-for-Account" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../commands/account/enum.Account.html" title="enum leo_lang::cli::commands::account::Account">Account</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#37">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.79.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.79.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.79.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.79.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-FromArgMatches-for-Account" class="impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#37">source</a><a href="#impl-FromArgMatches-for-Account" class="anchor">§</a><h3 class="code-header">impl FromArgMatches for <a class="enum" href="../commands/account/enum.Account.html" title="enum leo_lang::cli::commands::account::Account">Account</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_arg_matches" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#37">source</a><a href="#method.from_arg_matches" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_arg_matches</a>(__clap_arg_matches: &amp;ArgMatches) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.79.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Error&gt;</h4></section></summary><div class='docblock'>Instantiate <code>Self</code> from [<code>ArgMatches</code>], parsing the arguments as needed. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_arg_matches_mut" class="method trait-impl"><a class="src rightside" href="../../../src/leo_lang/cli/commands/account.rs.html#37">source</a><a href="#method.from_arg_matches_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_arg_matches_mut</a>(
Expand Down
Loading

0 comments on commit cf19493

Please sign in to comment.