-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7e672e2
Showing
23,839 changed files
with
649,831 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="List of all items in this crate"><title>List of all items in this crate</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-198729e5.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="calloop" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0-nightly (df4ca44d3 2024-10-27)" data-channel="nightly" data-search-js="search-c5a66128.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.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 mod sys"><!--[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="../calloop/index.html">calloop</a><span class="version">0.14.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h3><a href="#macros">Crate Items</a></h3><ul class="block"><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="struct.Dispatcher.html">Dispatcher</a></li><li><a href="struct.EventIterator.html">EventIterator</a></li><li><a href="struct.EventLoop.html">EventLoop</a></li><li><a href="struct.Idle.html">Idle</a></li><li><a href="struct.Interest.html">Interest</a></li><li><a href="struct.LoopHandle.html">LoopHandle</a></li><li><a href="struct.LoopSignal.html">LoopSignal</a></li><li><a href="struct.Poll.html">Poll</a></li><li><a href="struct.Readiness.html">Readiness</a></li><li><a href="struct.RegistrationToken.html">RegistrationToken</a></li><li><a href="struct.Token.html">Token</a></li><li><a href="struct.TokenFactory.html">TokenFactory</a></li><li><a href="channel/struct.Channel.html">channel::Channel</a></li><li><a href="channel/struct.ChannelError.html">channel::ChannelError</a></li><li><a href="channel/struct.Sender.html">channel::Sender</a></li><li><a href="channel/struct.SyncSender.html">channel::SyncSender</a></li><li><a href="error/struct.InsertError.html">error::InsertError</a></li><li><a href="generic/struct.FdWrapper.html">generic::FdWrapper</a></li><li><a href="generic/struct.Generic.html">generic::Generic</a></li><li><a href="generic/struct.NoIoDrop.html">generic::NoIoDrop</a></li><li><a href="io/struct.Async.html">io::Async</a></li><li><a href="io/struct.Readable.html">io::Readable</a></li><li><a href="io/struct.Writable.html">io::Writable</a></li><li><a href="ping/struct.PingError.html">ping::PingError</a></li><li><a href="timer/struct.TimeoutFuture.html">timer::TimeoutFuture</a></li><li><a href="timer/struct.Timer.html">timer::Timer</a></li><li><a href="transient/struct.TransientSource.html">transient::TransientSource</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="enum.Mode.html">Mode</a></li><li><a href="enum.PostAction.html">PostAction</a></li><li><a href="channel/enum.Event.html">channel::Event</a></li><li><a href="error/enum.Error.html">error::Error</a></li><li><a href="timer/enum.TimeoutAction.html">timer::TimeoutAction</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="trait.EventSource.html">EventSource</a></li></ul><h3 id="macros">Macros</h3><ul class="all-items"><li><a href="macro.batch_register.html">batch_register</a></li><li><a href="macro.batch_reregister.html">batch_reregister</a></li><li><a href="macro.batch_unregister.html">batch_unregister</a></li></ul><h3 id="functions">Functions</h3><ul class="all-items"><li><a href="channel/fn.channel.html">channel::channel</a></li><li><a href="channel/fn.sync_channel.html">channel::sync_channel</a></li><li><a href="ping/fn.make_ping.html">ping::make_ping</a></li></ul><h3 id="types">Type Aliases</h3><ul class="all-items"><li><a href="error/type.Result.html">error::Result</a></li><li><a href="ping/type.Ping.html">ping::Ping</a></li><li><a href="ping/type.PingSource.html">ping::PingSource</a></li></ul></section></div></main></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!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="Create a new asynchronous channel"><title>channel in calloop::channel - 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-198729e5.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="calloop" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0-nightly (df4ca44d3 2024-10-27)" data-channel="nightly" data-search-js="search-c5a66128.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 fn"><!--[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="../../calloop/index.html">calloop</a><span class="version">0.14.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In calloop::<wbr>channel</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">calloop</a>::<wbr><a href="index.html">channel</a></span><h1>Function <span class="fn">channel</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/calloop/sources/channel.rs.html#161-176">Source</a> </span></div><pre class="rust item-decl"><code>pub fn channel<T>() -> (<a class="struct" href="struct.Sender.html" title="struct calloop::channel::Sender">Sender</a><T>, <a class="struct" href="struct.Channel.html" title="struct calloop::channel::Channel">Channel</a><T>)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create a new asynchronous channel</p> | ||
</div></details></section></div></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!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="Create a new synchronous, bounded channel"><title>sync_channel in calloop::channel - 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-198729e5.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="calloop" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0-nightly (df4ca44d3 2024-10-27)" data-channel="nightly" data-search-js="search-c5a66128.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 fn"><!--[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="../../calloop/index.html">calloop</a><span class="version">0.14.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In calloop::<wbr>channel</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">calloop</a>::<wbr><a href="index.html">channel</a></span><h1>Function <span class="fn">sync_channel</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/calloop/sources/channel.rs.html#179-194">Source</a> </span></div><pre class="rust item-decl"><code>pub fn sync_channel<T>(bound: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> (<a class="struct" href="struct.SyncSender.html" title="struct calloop::channel::SyncSender">SyncSender</a><T>, <a class="struct" href="struct.Channel.html" title="struct calloop::channel::Channel">Channel</a><T>)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create a new synchronous, bounded channel</p> | ||
</div></details></section></div></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!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="An MPSC channel whose receiving end is an event source"><title>calloop::channel - 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-198729e5.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="calloop" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0-nightly (df4ca44d3 2024-10-27)" data-channel="nightly" data-search-js="search-c5a66128.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 mod"><!--[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="../../calloop/index.html">calloop</a><span class="version">0.14.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module channel</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate calloop</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">calloop</a></span><h1>Module <span>channel</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/calloop/sources/channel.rs.html#1-436">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An MPSC channel whose receiving end is an event source</p> | ||
<p>Create a channel using <a href="fn.channel.html" title="fn calloop::channel::channel"><code>channel()</code></a>, which returns a | ||
<a href="struct.Sender.html" title="struct calloop::channel::Sender"><code>Sender</code></a> that can be cloned and sent accross threads if <code>T: Send</code>, | ||
and a <a href="struct.Channel.html" title="struct calloop::channel::Channel"><code>Channel</code></a> that can be inserted into an <a href="../struct.EventLoop.html" title="struct calloop::EventLoop"><code>EventLoop</code></a>. | ||
It will generate one event per message.</p> | ||
<p>A synchronous version of the channel is provided by <a href="fn.sync_channel.html" title="fn calloop::channel::sync_channel"><code>sync_channel</code></a>, in which | ||
the <a href="struct.SyncSender.html" title="struct calloop::channel::SyncSender"><code>SyncSender</code></a> will block when the channel is full.</p> | ||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Channel.html" title="struct calloop::channel::Channel">Channel</a></div><div class="desc docblock-short">The receiving end of the channel</div></li><li><div class="item-name"><a class="struct" href="struct.ChannelError.html" title="struct calloop::channel::ChannelError">Channel<wbr>Error</a></div><div class="desc docblock-short">An error arising from processing events for a channel.</div></li><li><div class="item-name"><a class="struct" href="struct.Sender.html" title="struct calloop::channel::Sender">Sender</a></div><div class="desc docblock-short">The sender end of a channel</div></li><li><div class="item-name"><a class="struct" href="struct.SyncSender.html" title="struct calloop::channel::SyncSender">Sync<wbr>Sender</a></div><div class="desc docblock-short">The sender end of a synchronous channel</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Event.html" title="enum calloop::channel::Event">Event</a></div><div class="desc docblock-short">The events generated by the channel event source</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.channel.html" title="fn calloop::channel::channel">channel</a></div><div class="desc docblock-short">Create a new asynchronous channel</div></li><li><div class="item-name"><a class="fn" href="fn.sync_channel.html" title="fn calloop::channel::sync_channel">sync_<wbr>channel</a></div><div class="desc docblock-short">Create a new synchronous, bounded channel</div></li></ul></section></div></main></body></html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.