mirror of
https://github.com/NotAShelf/mpvrc.git
synced 2026-04-16 07:53:48 +00:00
16 lines
No EOL
26 KiB
HTML
16 lines
No EOL
26 KiB
HTML
<!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="Lock a stream"><title>AsLockedWrite in anstream::stream - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="anstream" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../anstream/index.html">anstream</a><span class="version">0.6.18</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">AsLocked<wbr>Write</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Write" title="Write">Write</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.as_locked_write" title="as_locked_write">as_locked_write</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-AsLockedWrite-for-%26mut+T" title="&mut T">&mut T</a></li><li><a href="#impl-AsLockedWrite-for-Box%3CT%3E" title="Box<T>">Box<T></a></li><li><a href="#impl-AsLockedWrite-for-File" title="File">File</a></li><li><a href="#impl-AsLockedWrite-for-Stderr" title="Stderr">Stderr</a></li><li><a href="#impl-AsLockedWrite-for-StderrLock%3C'static%3E" title="StderrLock<'static>">StderrLock<'static></a></li><li><a href="#impl-AsLockedWrite-for-Stdout" title="Stdout">Stdout</a></li><li><a href="#impl-AsLockedWrite-for-StdoutLock%3C'static%3E" title="StdoutLock<'static>">StdoutLock<'static></a></li><li><a href="#impl-AsLockedWrite-for-Vec%3Cu8%3E" title="Vec<u8>">Vec<u8></a></li><li><a href="#impl-AsLockedWrite-for-dyn+Write" title="dyn Write">dyn Write</a></li><li><a href="#impl-AsLockedWrite-for-dyn+Write+%2B+Send" title="dyn Write + Send">dyn Write + Send</a></li><li><a href="#impl-AsLockedWrite-for-dyn+Write+%2B+Send+%2B+Sync" title="dyn Write + Send + Sync">dyn Write + Send + Sync</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 anstream::<wbr>stream</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">anstream</a>::<wbr><a href="index.html">stream</a></span><h1>Trait <span class="trait">AsLockedWrite</span><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/anstream/stream.rs.html#135-143">Source</a> </span></div><pre class="rust item-decl"><code>pub trait AsLockedWrite: Sealed {
|
|
type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w>: <a class="trait" href="trait.RawStream.html" title="trait anstream::stream::RawStream">RawStream</a> + 'w
|
|
<span class="where">where Self: 'w</span>;
|
|
|
|
// Required method
|
|
fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_>;
|
|
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Lock a stream</p>
|
|
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Write" class="method"><a class="src rightside" href="../../src/anstream/stream.rs.html#137-139">Source</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w>: <a class="trait" href="trait.RawStream.html" title="trait anstream::stream::RawStream">RawStream</a> + 'w
|
|
<span class="where">where
|
|
Self: 'w</span></h4></section></summary><div class="docblock"><p>Locked writer type</p>
|
|
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.as_locked_write" class="method"><a class="src rightside" href="../../src/anstream/stream.rs.html#142">Source</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></summary><div class="docblock"><p>Lock a stream</p>
|
|
</div></details></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.84.1/reference/items/traits.html#object-safety">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="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-Vec%3Cu8%3E" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#232-239">Source</a><a href="#impl-AsLockedWrite-for-Vec%3Cu8%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for <a class="struct" href="https://doc.rust-lang.org/1.84.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.1/std/primitive.u8.html">u8</a>></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#233">Source</a><a href="#associatedtype.Write-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = &'w mut <a class="struct" href="https://doc.rust-lang.org/1.84.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.1/std/primitive.u8.html">u8</a>></h4></section><section id="method.as_locked_write" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#236-238">Source</a><a href="#method.as_locked_write" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-File" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#241-248">Source</a><a href="#impl-AsLockedWrite-for-File" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/fs/struct.File.html" title="struct std::fs::File">File</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#242">Source</a><a href="#associatedtype.Write-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = &'w mut <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/fs/struct.File.html" title="struct std::fs::File">File</a></h4></section><section id="method.as_locked_write-1" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#245-247">Source</a><a href="#method.as_locked_write-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-Stderr" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#187-194">Source</a><a href="#impl-AsLockedWrite-for-Stderr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/io/stdio/struct.Stderr.html" title="struct std::io::stdio::Stderr">Stderr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#188">Source</a><a href="#associatedtype.Write-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/io/stdio/struct.StderrLock.html" title="struct std::io::stdio::StderrLock">StderrLock</a><'w></h4></section><section id="method.as_locked_write-2" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#191-193">Source</a><a href="#method.as_locked_write-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-StderrLock%3C'static%3E" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#196-203">Source</a><a href="#impl-AsLockedWrite-for-StderrLock%3C'static%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/io/stdio/struct.StderrLock.html" title="struct std::io::stdio::StderrLock">StderrLock</a><'static></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#197">Source</a><a href="#associatedtype.Write-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = &'w mut <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/io/stdio/struct.StderrLock.html" title="struct std::io::stdio::StderrLock">StderrLock</a><'static></h4></section><section id="method.as_locked_write-3" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#200-202">Source</a><a href="#method.as_locked_write-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-Stdout" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#169-176">Source</a><a href="#impl-AsLockedWrite-for-Stdout" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/io/stdio/struct.Stdout.html" title="struct std::io::stdio::Stdout">Stdout</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#170">Source</a><a href="#associatedtype.Write-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/io/stdio/struct.StdoutLock.html" title="struct std::io::stdio::StdoutLock">StdoutLock</a><'w></h4></section><section id="method.as_locked_write-4" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#173-175">Source</a><a href="#method.as_locked_write-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-StdoutLock%3C'static%3E" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#178-185">Source</a><a href="#impl-AsLockedWrite-for-StdoutLock%3C'static%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/io/stdio/struct.StdoutLock.html" title="struct std::io::stdio::StdoutLock">StdoutLock</a><'static></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#179">Source</a><a href="#associatedtype.Write-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = &'w mut <a class="struct" href="https://doc.rust-lang.org/1.84.1/std/io/stdio/struct.StdoutLock.html" title="struct std::io::stdio::StdoutLock">StdoutLock</a><'static></h4></section><section id="method.as_locked_write-5" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#182-184">Source</a><a href="#method.as_locked_write-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-dyn+Write" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#205-212">Source</a><a href="#impl-AsLockedWrite-for-dyn+Write" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for dyn <a class="trait" href="https://doc.rust-lang.org/1.84.1/std/io/trait.Write.html" title="trait std::io::Write">Write</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#206">Source</a><a href="#associatedtype.Write-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = &'w mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.84.1/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + 'static)</h4></section><section id="method.as_locked_write-6" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#209-211">Source</a><a href="#method.as_locked_write-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-dyn+Write+%2B+Send" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#214-221">Source</a><a href="#impl-AsLockedWrite-for-dyn+Write+%2B+Send" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for dyn <a class="trait" href="https://doc.rust-lang.org/1.84.1/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#215">Source</a><a href="#associatedtype.Write-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = &'w mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.84.1/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static)</h4></section><section id="method.as_locked_write-7" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#218-220">Source</a><a href="#method.as_locked_write-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-dyn+Write+%2B+Send+%2B+Sync" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#223-230">Source</a><a href="#impl-AsLockedWrite-for-dyn+Write+%2B+Send+%2B+Sync" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for dyn <a class="trait" href="https://doc.rust-lang.org/1.84.1/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#224">Source</a><a href="#associatedtype.Write-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = &'w mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.84.1/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static)</h4></section><section id="method.as_locked_write-8" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#227-229">Source</a><a href="#method.as_locked_write-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-%26mut+T" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#145-155">Source</a><a href="#impl-AsLockedWrite-for-%26mut+T" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>> <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.1/std/primitive.reference.html">&mut T</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#146-149">Source</a><a href="#associatedtype.Write-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = <T as <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a>>::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'w>
|
|
<span class="where">where
|
|
Self: 'w</span></h4></section><section id="method.as_locked_write-9" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#152-154">Source</a><a href="#method.as_locked_write-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsLockedWrite-for-Box%3CT%3E" class="impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#157-167">Source</a><a href="#impl-AsLockedWrite-for-Box%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>> <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a> for <a class="struct" href="https://doc.rust-lang.org/1.84.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T></h3></section></summary><div class="impl-items"><section id="associatedtype.Write-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#158-161">Source</a><a href="#associatedtype.Write-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Write" class="associatedtype">Write</a><'w> = <T as <a class="trait" href="trait.AsLockedWrite.html" title="trait anstream::stream::AsLockedWrite">AsLockedWrite</a>>::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'w>
|
|
<span class="where">where
|
|
Self: 'w</span></h4></section><section id="method.as_locked_write-10" class="method trait-impl"><a class="src rightside" href="../../src/anstream/stream.rs.html#164-166">Source</a><a href="#method.as_locked_write-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.as_locked_write" class="fn">as_locked_write</a>(&mut self) -> Self::<a class="associatedtype" href="trait.AsLockedWrite.html#associatedtype.Write" title="type anstream::stream::AsLockedWrite::Write">Write</a><'_></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/anstream/stream/trait.AsLockedWrite.js" data-ignore-extern-crates="alloc,std" async></script></section></div></main></body></html> |