Skip to content

Commit 5e10c07

Browse files
Update docs/spin/main
1 parent 529cde6 commit 5e10c07

File tree

20 files changed

+38
-38
lines changed

20 files changed

+38
-38
lines changed

docs/spin/main/search.index/entry/1de8ad392b5c.js renamed to docs/spin/main/search.index/entry/ad3230b2a465.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/spin/main/search.index/entry/bf394ec53c58.js renamed to docs/spin/main/search.index/entry/dcc36db45bfb.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/spin/main/search.index/function/91291e080d3b.js renamed to docs/spin/main/search.index/function/c8ece211d730.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/spin/main/search.index/path/abd17d4d314f.js renamed to docs/spin/main/search.index/path/192d629d48ab.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/spin/main/search.index/root.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/spin/main/search.index/type/6737df3a22ec.js renamed to docs/spin/main/search.index/type/4411525f1bdf.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/spin/main/spin_factor_wasi/struct.InstanceBuilder.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/spin/main/spin_factor_wasi/struct.WasiFactor.html

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!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 `spin_factors_executor` crate."><title>spin_factors_executor - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-7dc20aaa.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="spin_factors_executor" data-themes="" data-resource-suffix="" data-rustdoc-version="1.91.0-nightly (cdb45c87e 2025-08-27)" data-channel="nightly" data-search-js="search-5fc2c5c0.js" data-stringdex-js="stringdex-0e748618.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-17c00ba7.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate spin_factors_executor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../spin_factors_executor/index.html">spin_<wbr>factors_<wbr>executor</a><span class="version">3.5.0-pre0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>spin_<wbr>factors_<wbr>executor</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/spin_factors_executor/lib.rs.html#1-367">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.FactorsExecutor.html" title="struct spin_factors_executor::FactorsExecutor">Factors<wbr>Executor</a></dt><dd>A FactorsExecutor manages execution of a Spin app.</dd><dt><a class="struct" href="struct.FactorsExecutorApp.html" title="struct spin_factors_executor::FactorsExecutorApp">Factors<wbr>Executor<wbr>App</a></dt><dd>A FactorsExecutorApp represents a loaded Spin app, ready for instantiation.</dd><dt><a class="struct" href="struct.FactorsInstanceBuilder.html" title="struct spin_factors_executor::FactorsInstanceBuilder">Factors<wbr>Instance<wbr>Builder</a></dt><dd>A FactorsInstanceBuilder manages the instantiation of a Spin component instance.</dd><dt><a class="struct" href="struct.InstanceState.html" title="struct spin_factors_executor::InstanceState">Instance<wbr>State</a></dt><dd>InstanceState is the <a href="../spin_core/store/struct.Store.html" title="struct spin_core::store::Store"><code>spin_core::Store</code></a> <code>data</code> for an instance.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.ComponentLoader.html" title="trait spin_factors_executor::ComponentLoader">Component<wbr>Loader</a></dt><dd>A ComponentLoader is responsible for loading Wasmtime <a href="https://docs.rs/wasmtime/36.0.2/wasmtime/runtime/component/component/struct.Component.html" title="struct wasmtime::runtime::component::component::Component"><code>Component</code></a>s.</dd><dt><a class="trait" href="trait.ExecutorHooks.html" title="trait spin_factors_executor::ExecutorHooks">Executor<wbr>Hooks</a></dt></dl></section></div></main></body></html>
1+
<!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 `spin_factors_executor` crate."><title>spin_factors_executor - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-7dc20aaa.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="spin_factors_executor" data-themes="" data-resource-suffix="" data-rustdoc-version="1.91.0-nightly (cdb45c87e 2025-08-27)" data-channel="nightly" data-search-js="search-5fc2c5c0.js" data-stringdex-js="stringdex-0e748618.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-17c00ba7.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate spin_factors_executor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../spin_factors_executor/index.html">spin_<wbr>factors_<wbr>executor</a><span class="version">3.5.0-pre0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>spin_<wbr>factors_<wbr>executor</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/spin_factors_executor/lib.rs.html#1-367">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.FactorsExecutor.html" title="struct spin_factors_executor::FactorsExecutor">Factors<wbr>Executor</a></dt><dd>A FactorsExecutor manages execution of a Spin app.</dd><dt><a class="struct" href="struct.FactorsExecutorApp.html" title="struct spin_factors_executor::FactorsExecutorApp">Factors<wbr>Executor<wbr>App</a></dt><dd>A FactorsExecutorApp represents a loaded Spin app, ready for instantiation.</dd><dt><a class="struct" href="struct.FactorsInstanceBuilder.html" title="struct spin_factors_executor::FactorsInstanceBuilder">Factors<wbr>Instance<wbr>Builder</a></dt><dd>A FactorsInstanceBuilder manages the instantiation of a Spin component instance.</dd><dt><a class="struct" href="struct.InstanceState.html" title="struct spin_factors_executor::InstanceState">Instance<wbr>State</a></dt><dd>InstanceState is the [<code>spin_core::Store</code>] <code>data</code> for an instance.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.ComponentLoader.html" title="trait spin_factors_executor::ComponentLoader">Component<wbr>Loader</a></dt><dd>A ComponentLoader is responsible for loading Wasmtime <a href="https://docs.rs/wasmtime/36.0.2/wasmtime/runtime/component/component/struct.Component.html" title="struct wasmtime::runtime::component::component::Component"><code>Component</code></a>s.</dd><dt><a class="trait" href="trait.ExecutorHooks.html" title="trait spin_factors_executor::ExecutorHooks">Executor<wbr>Hooks</a></dt></dl></section></div></main></body></html>

docs/spin/main/spin_factors_executor/struct.FactorsExecutor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<p>It is generic over the executor’s [<code>RuntimeFactors</code>]. Additionally, it
33
holds any other per-instance state needed by the caller.</p>
44
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-FactorsExecutor%3CT,+U%3E" class="impl"><a class="src rightside" href="../src/spin_factors_executor/lib.rs.html#21-82">Source</a><a href="#impl-FactorsExecutor%3CT,+U%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T: RuntimeFactors, U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static&gt; <a class="struct" href="struct.FactorsExecutor.html" title="struct spin_factors_executor::FactorsExecutor">FactorsExecutor</a>&lt;T, U&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/spin_factors_executor/lib.rs.html#23-37">Source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(
5-
core_engine_builder: <a class="struct" href="../spin_core/struct.EngineBuilder.html" title="struct spin_core::EngineBuilder">EngineBuilder</a>&lt;<a class="struct" href="struct.InstanceState.html" title="struct spin_factors_executor::InstanceState">InstanceState</a>&lt;&lt;T as RuntimeFactors&gt;::InstanceState, U&gt;&gt;,
5+
core_engine_builder: EngineBuilder&lt;<a class="struct" href="struct.InstanceState.html" title="struct spin_factors_executor::InstanceState">InstanceState</a>&lt;&lt;T as RuntimeFactors&gt;::InstanceState, U&gt;&gt;,
66
factors: T,
77
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.93/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Self&gt;</h4></section></summary><div class="docblock"><p>Constructs a new executor.</p>
8-
</div></details><section id="method.core_engine" class="method"><a class="src rightside" href="../src/spin_factors_executor/lib.rs.html#39-41">Source</a><h4 class="code-header">pub fn <a href="#method.core_engine" class="fn">core_engine</a>(&amp;self) -&gt; &amp;<a class="struct" href="../spin_core/struct.Engine.html" title="struct spin_core::Engine">Engine</a>&lt;<a class="struct" href="struct.InstanceState.html" title="struct spin_factors_executor::InstanceState">InstanceState</a>&lt;T::InstanceState, U&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.add_hooks" class="method"><a class="src rightside" href="../src/spin_factors_executor/lib.rs.html#46-48">Source</a><h4 class="code-header">pub fn <a href="#method.add_hooks" class="fn">add_hooks</a>(&amp;mut self, hooks: impl <a class="trait" href="trait.ExecutorHooks.html" title="trait spin_factors_executor::ExecutorHooks">ExecutorHooks</a>&lt;T, U&gt; + 'static)</h4></section></summary><div class="docblock"><p>Hooks are run in the order they are added.</p>
8+
</div></details><section id="method.core_engine" class="method"><a class="src rightside" href="../src/spin_factors_executor/lib.rs.html#39-41">Source</a><h4 class="code-header">pub fn <a href="#method.core_engine" class="fn">core_engine</a>(&amp;self) -&gt; &amp;Engine&lt;<a class="struct" href="struct.InstanceState.html" title="struct spin_factors_executor::InstanceState">InstanceState</a>&lt;T::InstanceState, U&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.add_hooks" class="method"><a class="src rightside" href="../src/spin_factors_executor/lib.rs.html#46-48">Source</a><h4 class="code-header">pub fn <a href="#method.add_hooks" class="fn">add_hooks</a>(&amp;mut self, hooks: impl <a class="trait" href="trait.ExecutorHooks.html" title="trait spin_factors_executor::ExecutorHooks">ExecutorHooks</a>&lt;T, U&gt; + 'static)</h4></section></summary><div class="docblock"><p>Hooks are run in the order they are added.</p>
99
</div></details><details class="toggle method-toggle" open><summary><section id="method.load_app" class="method"><a class="src rightside" href="../src/spin_factors_executor/lib.rs.html#51-81">Source</a><h4 class="code-header">pub async fn <a href="#method.load_app" class="fn">load_app</a>(
1010
self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Self&gt;,
1111
app: App,

0 commit comments

Comments
 (0)