Adding large folders

This commit is contained in:
2026-02-26 12:00:21 -05:00
parent 5400d82acd
commit 49701c85ad
47332 changed files with 1942573 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,20 @@
<!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 `InternalOwned` enum in crate `brotli`."><title>InternalOwned in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 enum"><!--[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="#">InternalOwned</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Internal<wbr>Owned</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Borrowed" title="Borrowed">Borrowed</a></li><li><a href="#variant.Item" title="Item">Item</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-InternalOwned%3CT%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-InternalOwned%3CT%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-InternalOwned%3CT%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-InternalOwned%3CT%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-InternalOwned%3CT%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-InternalOwned%3CT%3E" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Enum <span class="enum">Internal<wbr>Owned</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/brotli/enc/threading.rs.html#150-154">Source</a> </span></div><pre class="rust item-decl"><code>pub enum InternalOwned&lt;T&gt; {
Item(T),
Borrowed,
}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Item" class="variant"><a href="#variant.Item" class="anchor">§</a><h3 class="code-header">Item(T)</h3></section><section id="variant.Borrowed" class="variant"><a href="#variant.Borrowed" class="anchor">§</a><h3 class="code-header">Borrowed</h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-InternalOwned%3CT%3E" class="impl"><a href="#impl-Freeze-for-InternalOwned%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.InternalOwned.html" title="enum brotli::enc::threading::InternalOwned">InternalOwned</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-InternalOwned%3CT%3E" class="impl"><a href="#impl-RefUnwindSafe-for-InternalOwned%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.InternalOwned.html" title="enum brotli::enc::threading::InternalOwned">InternalOwned</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-InternalOwned%3CT%3E" class="impl"><a href="#impl-Send-for-InternalOwned%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.InternalOwned.html" title="enum brotli::enc::threading::InternalOwned">InternalOwned</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-InternalOwned%3CT%3E" class="impl"><a href="#impl-Sync-for-InternalOwned%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.InternalOwned.html" title="enum brotli::enc::threading::InternalOwned">InternalOwned</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-InternalOwned%3CT%3E" class="impl"><a href="#impl-Unpin-for-InternalOwned%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.InternalOwned.html" title="enum brotli::enc::threading::InternalOwned">InternalOwned</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-InternalOwned%3CT%3E" class="impl"><a href="#impl-UnwindSafe-for-InternalOwned%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.InternalOwned.html" title="enum brotli::enc::threading::InternalOwned">InternalOwned</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/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" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/core/convert/trait.From.html" title="trait core::convert::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-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.93.1/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"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/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.93.1/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"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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.93.1/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></div></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
<!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 `CompressMulti` fn in crate `brotli`."><title>CompressMulti in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 fn"><!--[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="#">CompressMulti</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Function <span class="fn">Compress<wbr>Multi</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/brotli/enc/threading.rs.html#404-600">Source</a> </span></div><pre class="rust item-decl"><code>pub fn CompressMulti&lt;Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, SliceW: <a class="trait" href="../../trait.SliceWrapper.html" title="trait brotli::SliceWrapper">SliceWrapper</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>, Spawner: <a class="trait" href="trait.BatchSpawnableLite.html" title="trait brotli::enc::threading::BatchSpawnableLite">BatchSpawnableLite</a>&lt;<a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;, <a class="enum" href="../backward_references/enum.UnionHasher.html" title="enum brotli::enc::backward_references::UnionHasher">UnionHasher</a>&lt;Alloc&gt;, Alloc, (SliceW, <a class="struct" href="../backward_references/struct.BrotliEncoderParams.html" title="struct brotli::enc::backward_references::BrotliEncoderParams">BrotliEncoderParams</a>)&gt;&gt;(
params: &amp;<a class="struct" href="../backward_references/struct.BrotliEncoderParams.html" title="struct brotli::enc::backward_references::BrotliEncoderParams">BrotliEncoderParams</a>,
owned_input: &amp;mut <a class="struct" href="struct.Owned.html" title="struct brotli::enc::threading::Owned">Owned</a>&lt;SliceW&gt;,
output: &amp;mut [<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>],
alloc_per_thread: &amp;mut [<a class="struct" href="struct.SendAlloc.html" title="struct brotli::enc::threading::SendAlloc">SendAlloc</a>&lt;<a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;, <a class="enum" href="../backward_references/enum.UnionHasher.html" title="enum brotli::enc::backward_references::UnionHasher">UnionHasher</a>&lt;Alloc&gt;, Alloc, Spawner::<a class="associatedtype" href="trait.BatchSpawnableLite.html#associatedtype.JoinHandle" title="type brotli::enc::threading::BatchSpawnableLite::JoinHandle">JoinHandle</a>&gt;],
thread_spawner: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;mut Spawner</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></code></pre></section></div></main></body></html>

View File

@@ -0,0 +1,10 @@
<!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 `CompressMultiSlice` fn in crate `brotli`."><title>CompressMultiSlice in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 fn"><!--[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="#">CompressMultiSlice</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Function <span class="fn">Compress<wbr>Multi<wbr>Slice</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/brotli/enc/threading.rs.html#275-322">Source</a> </span></div><pre class="rust item-decl"><code>pub fn CompressMultiSlice&lt;Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Spawner: <a class="trait" href="trait.BatchSpawnableLite.html" title="trait brotli::enc::threading::BatchSpawnableLite">BatchSpawnableLite</a>&lt;<a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;, <a class="enum" href="../backward_references/enum.UnionHasher.html" title="enum brotli::enc::backward_references::UnionHasher">UnionHasher</a>&lt;Alloc&gt;, Alloc, (&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>, <a class="struct" href="../backward_references/struct.BrotliEncoderParams.html" title="struct brotli::enc::backward_references::BrotliEncoderParams">BrotliEncoderParams</a>)&gt;&gt;(
params: &amp;<a class="struct" href="../backward_references/struct.BrotliEncoderParams.html" title="struct brotli::enc::backward_references::BrotliEncoderParams">BrotliEncoderParams</a>,
input_slice: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>],
output: &amp;mut [<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>],
alloc_per_thread: &amp;mut [<a class="struct" href="struct.SendAlloc.html" title="struct brotli::enc::threading::SendAlloc">SendAlloc</a>&lt;<a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;, <a class="enum" href="../backward_references/enum.UnionHasher.html" title="enum brotli::enc::backward_references::UnionHasher">UnionHasher</a>&lt;Alloc&gt;, Alloc, Spawner::<a class="associatedtype" href="trait.BatchSpawnableLite.html#associatedtype.JoinHandle" title="type brotli::enc::threading::BatchSpawnableLite::JoinHandle">JoinHandle</a>&gt;],
thread_spawner: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;mut Spawner</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["BrotliEncoderThreadError","InternalOwned","InternalSendAlloc"],"fn":["CompressMulti","CompressMultiSlice"],"struct":["CompressedFileChunk","CompressionThreadResult","Owned","SendAlloc"],"trait":["AnyBoxConstructor","BatchSpawnable","BatchSpawnableLite","Joinable","OwnedRetriever"],"type":["LowLevelThreadError","PoisonedThreadError"]};

View File

@@ -0,0 +1,17 @@
<!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 `CompressedFileChunk` struct in crate `brotli`."><title>CompressedFileChunk in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 struct"><!--[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="#">CompressedFileChunk</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Compressed<wbr>File<wbr>Chunk</a></h2><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-CompressedFileChunk%3CAlloc%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-CompressedFileChunk%3CAlloc%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-CompressedFileChunk%3CAlloc%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-CompressedFileChunk%3CAlloc%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-CompressedFileChunk%3CAlloc%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-CompressedFileChunk%3CAlloc%3E" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Struct <span class="struct">Compressed<wbr>File<wbr>Chunk</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/brotli/enc/threading.rs.html#48-54">Source</a> </span></div><pre class="rust item-decl"><code>pub struct CompressedFileChunk&lt;Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div>{ <span class="comment">/* private fields */</span> }</code></pre><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-CompressedFileChunk%3CAlloc%3E" class="impl"><a href="#impl-Freeze-for-CompressedFileChunk%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.CompressedFileChunk.html" title="struct brotli::enc::threading::CompressedFileChunk">CompressedFileChunk</a>&lt;Alloc&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-CompressedFileChunk%3CAlloc%3E" class="impl"><a href="#impl-RefUnwindSafe-for-CompressedFileChunk%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.CompressedFileChunk.html" title="struct brotli::enc::threading::CompressedFileChunk">CompressedFileChunk</a>&lt;Alloc&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-CompressedFileChunk%3CAlloc%3E" class="impl"><a href="#impl-Send-for-CompressedFileChunk%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.CompressedFileChunk.html" title="struct brotli::enc::threading::CompressedFileChunk">CompressedFileChunk</a>&lt;Alloc&gt;</h3></section><section id="impl-Sync-for-CompressedFileChunk%3CAlloc%3E" class="impl"><a href="#impl-Sync-for-CompressedFileChunk%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.CompressedFileChunk.html" title="struct brotli::enc::threading::CompressedFileChunk">CompressedFileChunk</a>&lt;Alloc&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-CompressedFileChunk%3CAlloc%3E" class="impl"><a href="#impl-Unpin-for-CompressedFileChunk%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.CompressedFileChunk.html" title="struct brotli::enc::threading::CompressedFileChunk">CompressedFileChunk</a>&lt;Alloc&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-CompressedFileChunk%3CAlloc%3E" class="impl"><a href="#impl-UnwindSafe-for-CompressedFileChunk%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.CompressedFileChunk.html" title="struct brotli::enc::threading::CompressedFileChunk">CompressedFileChunk</a>&lt;Alloc&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/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" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/core/convert/trait.From.html" title="trait core::convert::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-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.93.1/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"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/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.93.1/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"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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.93.1/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></div></section></div></main></body></html>

View File

@@ -0,0 +1,16 @@
<!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 `CompressionThreadResult` struct in crate `brotli`."><title>CompressionThreadResult in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 struct"><!--[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="#">CompressionThreadResult</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Compression<wbr>Thread<wbr>Result</a></h2><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-CompressionThreadResult%3CAlloc%3E" title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-Sync-for-CompressionThreadResult%3CAlloc%3E" title="!Sync">!Sync</a></li><li><a href="#impl-UnwindSafe-for-CompressionThreadResult%3CAlloc%3E" title="!UnwindSafe">!UnwindSafe</a></li><li><a href="#impl-Freeze-for-CompressionThreadResult%3CAlloc%3E" title="Freeze">Freeze</a></li><li><a href="#impl-Send-for-CompressionThreadResult%3CAlloc%3E" title="Send">Send</a></li><li><a href="#impl-Unpin-for-CompressionThreadResult%3CAlloc%3E" title="Unpin">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Struct <span class="struct">Compression<wbr>Thread<wbr>Result</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/brotli/enc/threading.rs.html#55-61">Source</a> </span></div><pre class="rust item-decl"><code>pub struct CompressionThreadResult&lt;Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div>{ <span class="comment">/* private fields */</span> }</code></pre><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-CompressionThreadResult%3CAlloc%3E" class="impl"><a href="#impl-Freeze-for-CompressionThreadResult%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;<div class="where">where
Alloc: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-CompressionThreadResult%3CAlloc%3E" class="impl"><a href="#impl-RefUnwindSafe-for-CompressionThreadResult%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; !<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;</h3></section><section id="impl-Send-for-CompressionThreadResult%3CAlloc%3E" class="impl"><a href="#impl-Send-for-CompressionThreadResult%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;</h3></section><section id="impl-Sync-for-CompressionThreadResult%3CAlloc%3E" class="impl"><a href="#impl-Sync-for-CompressionThreadResult%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; !<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;</h3></section><section id="impl-Unpin-for-CompressionThreadResult%3CAlloc%3E" class="impl"><a href="#impl-Unpin-for-CompressionThreadResult%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;<div class="where">where
Alloc: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-CompressionThreadResult%3CAlloc%3E" class="impl"><a href="#impl-UnwindSafe-for-CompressionThreadResult%3CAlloc%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Alloc&gt; !<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.CompressionThreadResult.html" title="struct brotli::enc::threading::CompressionThreadResult">CompressionThreadResult</a>&lt;Alloc&gt;</h3></section></div><h2 id="blanket-implementations" class="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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/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" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/core/convert/trait.From.html" title="trait core::convert::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-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.93.1/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"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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.93.1/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-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/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.93.1/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"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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.93.1/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></div></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
<!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 `AnyBoxConstructor` trait in crate `brotli`."><title>AnyBoxConstructor in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 trait"><!--[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="#">AnyBoxConstructor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">AnyBox<wbr>Constructor</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.new" title="new">new</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Trait <span class="trait">AnyBox<wbr>Constructor</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/brotli/enc/threading.rs.html#25-27">Source</a> </span></div><pre class="rust item-decl"><code>pub trait AnyBoxConstructor {
// Required method
fn <a href="#tymethod.new" class="fn">new</a>(data: <a class="type" href="type.LowLevelThreadError.html" title="type brotli::enc::threading::LowLevelThreadError">LowLevelThreadError</a>) -&gt; Self;
}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.new" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#26">Source</a><h4 class="code-header">fn <a href="#tymethod.new" class="fn">new</a>(data: <a class="type" href="type.LowLevelThreadError.html" title="type brotli::enc::threading::LowLevelThreadError">LowLevelThreadError</a>) -&gt; Self</h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.93.1/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-AnyBoxConstructor-for-BrotliEncoderThreadError" class="impl"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#42-46">Source</a><a href="#impl-AnyBoxConstructor-for-BrotliEncoderThreadError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AnyBoxConstructor.html" title="trait brotli::enc::threading::AnyBoxConstructor">AnyBoxConstructor</a> for <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a></h3></section></div><script src="../../../trait.impl/brotli/enc/threading/trait.AnyBoxConstructor.js" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,25 @@
<!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 `BatchSpawnable` trait in crate `brotli`."><title>BatchSpawnable in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 trait"><!--[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="#">BatchSpawnable</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Batch<wbr>Spawnable</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.FinalJoinHandle" title="FinalJoinHandle">FinalJoinHandle</a></li><li><a href="#associatedtype.JoinHandle" title="JoinHandle">JoinHandle</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.make_spawner" title="make_spawner">make_spawner</a></li><li><a href="#tymethod.spawn" title="spawn">spawn</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Trait <span class="trait">Batch<wbr>Spawnable</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/brotli/enc/threading.rs.html#208-235">Source</a> </span></div><pre class="rust item-decl"><code>pub trait BatchSpawnable&lt;ReturnValue: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, ExtraInput: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,</div>{
type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a>: <a class="trait" href="trait.Joinable.html" title="trait brotli::enc::threading::Joinable">Joinable</a>&lt;ReturnValue, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt;;
type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a>: <a class="trait" href="trait.OwnedRetriever.html" title="trait brotli::enc::threading::OwnedRetriever">OwnedRetriever</a>&lt;U&gt;;
// Required methods
fn <a href="#tymethod.make_spawner" class="fn">make_spawner</a>(&amp;mut self, input: &amp;mut <a class="struct" href="struct.Owned.html" title="struct brotli::enc::threading::Owned">Owned</a>&lt;U&gt;) -&gt; Self::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnable::FinalJoinHandle">FinalJoinHandle</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.spawn" class="fn">spawn</a>&lt;F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(ExtraInput, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;U</a>, Alloc) -&gt; ReturnValue + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>&gt;(
&amp;mut self,
handle: &amp;mut Self::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnable::FinalJoinHandle">FinalJoinHandle</a>,
alloc: &amp;mut <a class="struct" href="struct.SendAlloc.html" title="struct brotli::enc::threading::SendAlloc">SendAlloc</a>&lt;ReturnValue, ExtraInput, Alloc, Self::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.JoinHandle" title="type brotli::enc::threading::BatchSpawnable::JoinHandle">JoinHandle</a>&gt;,
index: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
num_threads: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
f: F,
);
}</code></pre><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.JoinHandle" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#216">Source</a><h4 class="code-header">type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a>: <a class="trait" href="trait.Joinable.html" title="trait brotli::enc::threading::Joinable">Joinable</a>&lt;ReturnValue, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt;</h4></section><section id="associatedtype.FinalJoinHandle" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#217">Source</a><h4 class="code-header">type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a>: <a class="trait" href="trait.OwnedRetriever.html" title="trait brotli::enc::threading::OwnedRetriever">OwnedRetriever</a>&lt;U&gt;</h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.make_spawner" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#226">Source</a><h4 class="code-header">fn <a href="#tymethod.make_spawner" class="fn">make_spawner</a>(&amp;mut self, input: &amp;mut <a class="struct" href="struct.Owned.html" title="struct brotli::enc::threading::Owned">Owned</a>&lt;U&gt;) -&gt; Self::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnable::FinalJoinHandle">FinalJoinHandle</a></h4></section><section id="tymethod.spawn" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#227-234">Source</a><h4 class="code-header">fn <a href="#tymethod.spawn" class="fn">spawn</a>&lt;F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(ExtraInput, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;U</a>, Alloc) -&gt; ReturnValue + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>&gt;(
&amp;mut self,
handle: &amp;mut Self::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnable::FinalJoinHandle">FinalJoinHandle</a>,
alloc: &amp;mut <a class="struct" href="struct.SendAlloc.html" title="struct brotli::enc::threading::SendAlloc">SendAlloc</a>&lt;ReturnValue, ExtraInput, Alloc, Self::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.JoinHandle" title="type brotli::enc::threading::BatchSpawnable::JoinHandle">JoinHandle</a>&gt;,
index: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
num_threads: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
f: F,
)</h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.93.1/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-BatchSpawnable%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-MultiThreadedSpawner" class="impl"><a class="src rightside" href="../../../src/brotli/enc/multithreading.rs.html#82-113">Source</a><a href="#impl-BatchSpawnable%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-MultiThreadedSpawner" class="anchor">§</a><h3 class="code-header">impl&lt;ReturnValue: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, ExtraInput: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt; <a class="trait" href="trait.BatchSpawnable.html" title="trait brotli::enc::threading::BatchSpawnable">BatchSpawnable</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt; for <a class="struct" href="../multithreading/struct.MultiThreadedSpawner.html" title="struct brotli::enc::multithreading::MultiThreadedSpawner">MultiThreadedSpawner</a><div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.JoinHandle-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/multithreading.rs.html#91">Source</a><a href="#associatedtype.JoinHandle-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a> = <a class="struct" href="../multithreading/struct.MultiThreadedJoinable.html" title="struct brotli::enc::multithreading::MultiThreadedJoinable">MultiThreadedJoinable</a>&lt;ReturnValue, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt;</h4></section><section id="associatedtype.FinalJoinHandle-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/multithreading.rs.html#92">Source</a><a href="#associatedtype.FinalJoinHandle-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a> = <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.93.1/std/sync/poison/rwlock/struct.RwLock.html" title="struct std::sync::poison::rwlock::RwLock">RwLock</a>&lt;U&gt;&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BatchSpawnable%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-SingleThreadedSpawner" class="impl"><a class="src rightside" href="../../../src/brotli/enc/singlethreading.rs.html#62-92">Source</a><a href="#impl-BatchSpawnable%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-SingleThreadedSpawner" class="anchor">§</a><h3 class="code-header">impl&lt;ReturnValue: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, ExtraInput: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt; <a class="trait" href="trait.BatchSpawnable.html" title="trait brotli::enc::threading::BatchSpawnable">BatchSpawnable</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt; for <a class="struct" href="../singlethreading/struct.SingleThreadedSpawner.html" title="struct brotli::enc::singlethreading::SingleThreadedSpawner">SingleThreadedSpawner</a><div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.JoinHandle-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/singlethreading.rs.html#71">Source</a><a href="#associatedtype.JoinHandle-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a> = <a class="struct" href="../singlethreading/struct.SingleThreadedJoinable.html" title="struct brotli::enc::singlethreading::SingleThreadedJoinable">SingleThreadedJoinable</a>&lt;ReturnValue, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt;</h4></section><section id="associatedtype.FinalJoinHandle-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/singlethreading.rs.html#72">Source</a><a href="#associatedtype.FinalJoinHandle-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a> = <a class="struct" href="../singlethreading/struct.SingleThreadedOwnedRetriever.html" title="struct brotli::enc::singlethreading::SingleThreadedOwnedRetriever">SingleThreadedOwnedRetriever</a>&lt;U&gt;</h4></section></div></details></div><script src="../../../trait.impl/brotli/enc/threading/trait.BatchSpawnable.js" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,30 @@
<!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 `BatchSpawnableLite` trait in crate `brotli`."><title>BatchSpawnableLite in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 trait"><!--[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="#">BatchSpawnableLite</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Batch<wbr>Spawnable<wbr>Lite</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.FinalJoinHandle" title="FinalJoinHandle">FinalJoinHandle</a></li><li><a href="#associatedtype.JoinHandle" title="JoinHandle">JoinHandle</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.make_spawner" title="make_spawner">make_spawner</a></li><li><a href="#tymethod.spawn" title="spawn">spawn</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Trait <span class="trait">Batch<wbr>Spawnable<wbr>Lite</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/brotli/enc/threading.rs.html#237-256">Source</a> </span></div><pre class="rust item-decl"><code>pub trait BatchSpawnableLite&lt;ReturnValue: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, ExtraInput: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,</div>{
type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a>: <a class="trait" href="trait.Joinable.html" title="trait brotli::enc::threading::Joinable">Joinable</a>&lt;ReturnValue, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt;;
type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a>: <a class="trait" href="trait.OwnedRetriever.html" title="trait brotli::enc::threading::OwnedRetriever">OwnedRetriever</a>&lt;U&gt;;
// Required methods
fn <a href="#tymethod.make_spawner" class="fn">make_spawner</a>(&amp;mut self, input: &amp;mut <a class="struct" href="struct.Owned.html" title="struct brotli::enc::threading::Owned">Owned</a>&lt;U&gt;) -&gt; Self::<a class="associatedtype" href="trait.BatchSpawnableLite.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnableLite::FinalJoinHandle">FinalJoinHandle</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.spawn" class="fn">spawn</a>(
&amp;mut self,
handle: &amp;mut Self::<a class="associatedtype" href="trait.BatchSpawnableLite.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnableLite::FinalJoinHandle">FinalJoinHandle</a>,
alloc_per_thread: &amp;mut <a class="struct" href="struct.SendAlloc.html" title="struct brotli::enc::threading::SendAlloc">SendAlloc</a>&lt;ReturnValue, ExtraInput, Alloc, Self::<a class="associatedtype" href="trait.BatchSpawnableLite.html#associatedtype.JoinHandle" title="type brotli::enc::threading::BatchSpawnableLite::JoinHandle">JoinHandle</a>&gt;,
index: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
num_threads: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
f: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.fn.html">fn</a>(ExtraInput, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;U</a>, Alloc) -&gt; ReturnValue,
);
}</code></pre><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.JoinHandle" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#245">Source</a><h4 class="code-header">type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a>: <a class="trait" href="trait.Joinable.html" title="trait brotli::enc::threading::Joinable">Joinable</a>&lt;ReturnValue, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt;</h4></section><section id="associatedtype.FinalJoinHandle" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#246">Source</a><h4 class="code-header">type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a>: <a class="trait" href="trait.OwnedRetriever.html" title="trait brotli::enc::threading::OwnedRetriever">OwnedRetriever</a>&lt;U&gt;</h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.make_spawner" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#247">Source</a><h4 class="code-header">fn <a href="#tymethod.make_spawner" class="fn">make_spawner</a>(&amp;mut self, input: &amp;mut <a class="struct" href="struct.Owned.html" title="struct brotli::enc::threading::Owned">Owned</a>&lt;U&gt;) -&gt; Self::<a class="associatedtype" href="trait.BatchSpawnableLite.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnableLite::FinalJoinHandle">FinalJoinHandle</a></h4></section><section id="tymethod.spawn" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#248-255">Source</a><h4 class="code-header">fn <a href="#tymethod.spawn" class="fn">spawn</a>(
&amp;mut self,
handle: &amp;mut Self::<a class="associatedtype" href="trait.BatchSpawnableLite.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnableLite::FinalJoinHandle">FinalJoinHandle</a>,
alloc_per_thread: &amp;mut <a class="struct" href="struct.SendAlloc.html" title="struct brotli::enc::threading::SendAlloc">SendAlloc</a>&lt;ReturnValue, ExtraInput, Alloc, Self::<a class="associatedtype" href="trait.BatchSpawnableLite.html#associatedtype.JoinHandle" title="type brotli::enc::threading::BatchSpawnableLite::JoinHandle">JoinHandle</a>&gt;,
index: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
num_threads: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
f: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.fn.html">fn</a>(ExtraInput, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;U</a>, Alloc) -&gt; ReturnValue,
)</h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-BatchSpawnableLite%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-MultiThreadedSpawner" class="impl"><a class="src rightside" href="../../../src/brotli/enc/multithreading.rs.html#114-153">Source</a><a href="#impl-BatchSpawnableLite%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-MultiThreadedSpawner" class="anchor">§</a><h3 class="code-header">impl&lt;ReturnValue: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, ExtraInput: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt; <a class="trait" href="trait.BatchSpawnableLite.html" title="trait brotli::enc::threading::BatchSpawnableLite">BatchSpawnableLite</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt; for <a class="struct" href="../multithreading/struct.MultiThreadedSpawner.html" title="struct brotli::enc::multithreading::MultiThreadedSpawner">MultiThreadedSpawner</a><div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.JoinHandle-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/multithreading.rs.html#125-126">Source</a><a href="#associatedtype.JoinHandle-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a> = &lt;<a class="struct" href="../multithreading/struct.MultiThreadedSpawner.html" title="struct brotli::enc::multithreading::MultiThreadedSpawner">MultiThreadedSpawner</a> as <a class="trait" href="trait.BatchSpawnable.html" title="trait brotli::enc::threading::BatchSpawnable">BatchSpawnable</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt;&gt;::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.JoinHandle" title="type brotli::enc::threading::BatchSpawnable::JoinHandle">JoinHandle</a></h4></section><section id="associatedtype.FinalJoinHandle-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/multithreading.rs.html#127-132">Source</a><a href="#associatedtype.FinalJoinHandle-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a> = &lt;<a class="struct" href="../multithreading/struct.MultiThreadedSpawner.html" title="struct brotli::enc::multithreading::MultiThreadedSpawner">MultiThreadedSpawner</a> as <a class="trait" href="trait.BatchSpawnable.html" title="trait brotli::enc::threading::BatchSpawnable">BatchSpawnable</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt;&gt;::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnable::FinalJoinHandle">FinalJoinHandle</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BatchSpawnableLite%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-SingleThreadedSpawner" class="impl"><a class="src rightside" href="../../../src/brotli/enc/singlethreading.rs.html#94-132">Source</a><a href="#impl-BatchSpawnableLite%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-SingleThreadedSpawner" class="anchor">§</a><h3 class="code-header">impl&lt;ReturnValue: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, ExtraInput: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt; <a class="trait" href="trait.BatchSpawnableLite.html" title="trait brotli::enc::threading::BatchSpawnableLite">BatchSpawnableLite</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt; for <a class="struct" href="../singlethreading/struct.SingleThreadedSpawner.html" title="struct brotli::enc::singlethreading::SingleThreadedSpawner">SingleThreadedSpawner</a><div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.JoinHandle-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/singlethreading.rs.html#103-104">Source</a><a href="#associatedtype.JoinHandle-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a> = &lt;<a class="struct" href="../singlethreading/struct.SingleThreadedSpawner.html" title="struct brotli::enc::singlethreading::SingleThreadedSpawner">SingleThreadedSpawner</a> as <a class="trait" href="trait.BatchSpawnable.html" title="trait brotli::enc::threading::BatchSpawnable">BatchSpawnable</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt;&gt;::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.JoinHandle" title="type brotli::enc::threading::BatchSpawnable::JoinHandle">JoinHandle</a></h4></section><section id="associatedtype.FinalJoinHandle-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/singlethreading.rs.html#105-110">Source</a><a href="#associatedtype.FinalJoinHandle-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a> = &lt;<a class="struct" href="../singlethreading/struct.SingleThreadedSpawner.html" title="struct brotli::enc::singlethreading::SingleThreadedSpawner">SingleThreadedSpawner</a> as <a class="trait" href="trait.BatchSpawnable.html" title="trait brotli::enc::threading::BatchSpawnable">BatchSpawnable</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt;&gt;::<a class="associatedtype" href="trait.BatchSpawnable.html#associatedtype.FinalJoinHandle" title="type brotli::enc::threading::BatchSpawnable::FinalJoinHandle">FinalJoinHandle</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BatchSpawnableLite%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-WorkerPool%3CReturnValue,+ExtraInput,+Alloc,+U%3E" class="impl"><a class="src rightside" href="../../../src/brotli/enc/worker_pool.rs.html#341-402">Source</a><a href="#impl-BatchSpawnableLite%3CReturnValue,+ExtraInput,+Alloc,+U%3E-for-WorkerPool%3CReturnValue,+ExtraInput,+Alloc,+U%3E" class="anchor">§</a><h3 class="code-header">impl&lt;ReturnValue: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, ExtraInput: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt; <a class="trait" href="trait.BatchSpawnableLite.html" title="trait brotli::enc::threading::BatchSpawnableLite">BatchSpawnableLite</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt; for <a class="struct" href="../worker_pool/struct.WorkerPool.html" title="struct brotli::enc::worker_pool::WorkerPool">WorkerPool</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt;<div class="where">where
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
&lt;Alloc as <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>&gt;&gt;::<a class="associatedtype" href="../../trait.Allocator.html#associatedtype.AllocatedMemory" title="type brotli::Allocator::AllocatedMemory">AllocatedMemory</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.FinalJoinHandle-3" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/worker_pool.rs.html#353">Source</a><a href="#associatedtype.FinalJoinHandle-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.FinalJoinHandle" class="associatedtype">FinalJoinHandle</a> = <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.93.1/std/sync/poison/rwlock/struct.RwLock.html" title="struct std::sync::poison::rwlock::RwLock">RwLock</a>&lt;U&gt;&gt;</h4></section><section id="associatedtype.JoinHandle-3" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/brotli/enc/worker_pool.rs.html#354">Source</a><a href="#associatedtype.JoinHandle-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.JoinHandle" class="associatedtype">JoinHandle</a> = <a class="struct" href="../worker_pool/struct.WorkerJoinable.html" title="struct brotli::enc::worker_pool::WorkerJoinable">WorkerJoinable</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt;</h4></section></div></details></div><script src="../../../trait.impl/brotli/enc/threading/trait.BatchSpawnableLite.js" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,4 @@
<!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 `Joinable` trait in crate `brotli`."><title>Joinable in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 trait"><!--[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="#">Joinable</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Joinable</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.join" title="join">join</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Trait <span class="trait">Joinable</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/brotli/enc/threading.rs.html#29-31">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Joinable&lt;T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static&gt;: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required method
fn <a href="#tymethod.join" class="fn">join</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, U&gt;;
}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.join" class="method"><a class="src rightside" href="../../../src/brotli/enc/threading.rs.html#30">Source</a><h4 class="code-header">fn <a href="#tymethod.join" class="fn">join</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, U&gt;</h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.93.1/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Joinable%3CReturnValue,+BrotliEncoderThreadError%3E-for-WorkerJoinable%3CReturnValue,+ExtraInput,+Alloc,+U%3E" class="impl"><a class="src rightside" href="../../../src/brotli/enc/worker_pool.rs.html#313-339">Source</a><a href="#impl-Joinable%3CReturnValue,+BrotliEncoderThreadError%3E-for-WorkerJoinable%3CReturnValue,+ExtraInput,+Alloc,+U%3E" class="anchor">§</a><h3 class="code-header">impl&lt;ReturnValue: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, ExtraInput: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, Alloc: <a class="trait" href="../combined_alloc/trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt; <a class="trait" href="trait.Joinable.html" title="trait brotli::enc::threading::Joinable">Joinable</a>&lt;ReturnValue, <a class="enum" href="enum.BrotliEncoderThreadError.html" title="enum brotli::enc::threading::BrotliEncoderThreadError">BrotliEncoderThreadError</a>&gt; for <a class="struct" href="../worker_pool/struct.WorkerJoinable.html" title="struct brotli::enc::worker_pool::WorkerJoinable">WorkerJoinable</a>&lt;ReturnValue, ExtraInput, Alloc, U&gt;</h3></section><section id="impl-Joinable%3CT,+U%3E-for-MultiThreadedJoinable%3CT,+U%3E" class="impl"><a class="src rightside" href="../../../src/brotli/enc/multithreading.rs.html#24-33">Source</a><a href="#impl-Joinable%3CT,+U%3E-for-MultiThreadedJoinable%3CT,+U%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static + <a class="trait" href="trait.AnyBoxConstructor.html" title="trait brotli::enc::threading::AnyBoxConstructor">AnyBoxConstructor</a>&gt; <a class="trait" href="trait.Joinable.html" title="trait brotli::enc::threading::Joinable">Joinable</a>&lt;T, U&gt; for <a class="struct" href="../multithreading/struct.MultiThreadedJoinable.html" title="struct brotli::enc::multithreading::MultiThreadedJoinable">MultiThreadedJoinable</a>&lt;T, U&gt;</h3></section><section id="impl-Joinable%3CT,+U%3E-for-SingleThreadedJoinable%3CT,+U%3E" class="impl"><a class="src rightside" href="../../../src/brotli/enc/singlethreading.rs.html#18-22">Source</a><a href="#impl-Joinable%3CT,+U%3E-for-SingleThreadedJoinable%3CT,+U%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static, U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static&gt; <a class="trait" href="trait.Joinable.html" title="trait brotli::enc::threading::Joinable">Joinable</a>&lt;T, U&gt; for <a class="struct" href="../singlethreading/struct.SingleThreadedJoinable.html" title="struct brotli::enc::singlethreading::SingleThreadedJoinable">SingleThreadedJoinable</a>&lt;T, U&gt;</h3></section></div><script src="../../../trait.impl/brotli/enc/threading/trait.Joinable.js" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +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 `LowLevelThreadError` type in crate `brotli`."><title>LowLevelThreadError in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 type"><!--[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="#">LowLevelThreadError</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">LowLevel<wbr>Thread<wbr>Error</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Type Alias <span class="type">LowLevel<wbr>Thread<wbr>Error</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/brotli/enc/threading.rs.html#21">Source</a> </span></div><pre class="rust item-decl"><code>pub type LowLevelThreadError = <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct LowLevelThreadError(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/alloc/boxed/struct.Box.js" data-self-path="brotli::enc::threading::LowLevelThreadError" async></script></section></div></main></body></html>

View File

@@ -0,0 +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 `PoisonedThreadError` type in crate `brotli`."><title>PoisonedThreadError in brotli::enc::threading - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 type"><!--[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="#">PoisonedThreadError</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>threading</a></h2></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">threading</a></div><h1>Type Alias <span class="type">Poisoned<wbr>Thread<wbr>Error</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/brotli/enc/threading.rs.html#18">Source</a> </span></div><pre class="rust item-decl"><code>pub type PoisonedThreadError = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.unit.html">()</a>;</code></pre></section></div></main></body></html>