Skip to content

Commit ff92909

Browse files
author
Deploy from CI
committed
Deploy ef2837b to gh-pages
0 parents  commit ff92909

88 files changed

Lines changed: 24143 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file makes sure that Github Pages doesn't process mdBook's output.

01_getting_started/01_chapter.html

Lines changed: 249 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,249 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en" class="light sidebar-visible" dir="ltr">
3+
<head>
4+
<!-- Book generated using mdBook -->
5+
<meta charset="UTF-8">
6+
<title>Getting Started - Asynchronous Programming in Rust</title>
7+
8+
9+
<!-- Custom HTML head -->
10+
11+
<meta name="description" content="">
12+
<meta name="viewport" content="width=device-width, initial-scale=1">
13+
<meta name="theme-color" content="#ffffff">
14+
15+
<link rel="icon" href="../favicon.svg">
16+
<link rel="shortcut icon" href="../favicon.png">
17+
<link rel="stylesheet" href="../css/variables.css">
18+
<link rel="stylesheet" href="../css/general.css">
19+
<link rel="stylesheet" href="../css/chrome.css">
20+
<link rel="stylesheet" href="../css/print.css" media="print">
21+
22+
<!-- Fonts -->
23+
<link rel="stylesheet" href="../FontAwesome/css/font-awesome.css">
24+
<link rel="stylesheet" href="../fonts/fonts.css">
25+
26+
<!-- Highlight.js Stylesheets -->
27+
<link rel="stylesheet" id="highlight-css" href="../highlight.css">
28+
<link rel="stylesheet" id="tomorrow-night-css" href="../tomorrow-night.css">
29+
<link rel="stylesheet" id="ayu-highlight-css" href="../ayu-highlight.css">
30+
31+
<!-- Custom theme stylesheets -->
32+
33+
34+
<!-- Provide site root and default themes to javascript -->
35+
<script>
36+
const path_to_root = "../";
37+
const default_light_theme = "light";
38+
const default_dark_theme = "navy";
39+
</script>
40+
<!-- Start loading toc.js asap -->
41+
<script src="../toc.js"></script>
42+
</head>
43+
<body>
44+
<div id="mdbook-help-container">
45+
<div id="mdbook-help-popup">
46+
<h2 class="mdbook-help-title">Keyboard shortcuts</h2>
47+
<div>
48+
<p>Press <kbd></kbd> or <kbd></kbd> to navigate between chapters</p>
49+
<p>Press <kbd>S</kbd> or <kbd>/</kbd> to search in the book</p>
50+
<p>Press <kbd>?</kbd> to show this help</p>
51+
<p>Press <kbd>Esc</kbd> to hide this help</p>
52+
</div>
53+
</div>
54+
</div>
55+
<div id="body-container">
56+
<!-- Work around some values being stored in localStorage wrapped in quotes -->
57+
<script>
58+
try {
59+
let theme = localStorage.getItem('mdbook-theme');
60+
let sidebar = localStorage.getItem('mdbook-sidebar');
61+
62+
if (theme.startsWith('"') && theme.endsWith('"')) {
63+
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
64+
}
65+
66+
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
67+
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
68+
}
69+
} catch (e) { }
70+
</script>
71+
72+
<!-- Set the theme before any content is loaded, prevents flash -->
73+
<script>
74+
const default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? default_dark_theme : default_light_theme;
75+
let theme;
76+
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
77+
if (theme === null || theme === undefined) { theme = default_theme; }
78+
const html = document.documentElement;
79+
html.classList.remove('light')
80+
html.classList.add(theme);
81+
html.classList.add("js");
82+
</script>
83+
84+
<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">
85+
86+
<!-- Hide / unhide sidebar before it is displayed -->
87+
<script>
88+
let sidebar = null;
89+
const sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
90+
if (document.body.clientWidth >= 1080) {
91+
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
92+
sidebar = sidebar || 'visible';
93+
} else {
94+
sidebar = 'hidden';
95+
}
96+
sidebar_toggle.checked = sidebar === 'visible';
97+
html.classList.remove('sidebar-visible');
98+
html.classList.add("sidebar-" + sidebar);
99+
</script>
100+
101+
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
102+
<!-- populated by js -->
103+
<mdbook-sidebar-scrollbox class="sidebar-scrollbox"></mdbook-sidebar-scrollbox>
104+
<noscript>
105+
<iframe class="sidebar-iframe-outer" src="../toc.html"></iframe>
106+
</noscript>
107+
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
108+
<div class="sidebar-resize-indicator"></div>
109+
</div>
110+
</nav>
111+
112+
<div id="page-wrapper" class="page-wrapper">
113+
114+
<div class="page">
115+
<div id="menu-bar-hover-placeholder"></div>
116+
<div id="menu-bar" class="menu-bar sticky">
117+
<div class="left-buttons">
118+
<label id="sidebar-toggle" class="icon-button" for="sidebar-toggle-anchor" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
119+
<i class="fa fa-bars"></i>
120+
</label>
121+
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
122+
<i class="fa fa-paint-brush"></i>
123+
</button>
124+
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
125+
<li role="none"><button role="menuitem" class="theme" id="default_theme">Auto</button></li>
126+
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
127+
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
128+
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
129+
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
130+
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
131+
</ul>
132+
<button id="search-toggle" class="icon-button" type="button" title="Search (`/`)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="/ s" aria-controls="searchbar">
133+
<i class="fa fa-search"></i>
134+
</button>
135+
</div>
136+
137+
<h1 class="menu-title">Asynchronous Programming in Rust</h1>
138+
139+
<div class="right-buttons">
140+
<a href="../print.html" title="Print this book" aria-label="Print this book">
141+
<i id="print-button" class="fa fa-print"></i>
142+
</a>
143+
<a href="https://github.com/rust-lang/async-book" title="Git repository" aria-label="Git repository">
144+
<i id="git-repository-button" class="fa fa-github"></i>
145+
</a>
146+
147+
</div>
148+
</div>
149+
150+
<div id="search-wrapper" class="hidden">
151+
<form id="searchbar-outer" class="searchbar-outer">
152+
<input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
153+
</form>
154+
<div id="searchresults-outer" class="searchresults-outer hidden">
155+
<div id="searchresults-header" class="searchresults-header"></div>
156+
<ul id="searchresults">
157+
</ul>
158+
</div>
159+
</div>
160+
161+
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
162+
<script>
163+
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
164+
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
165+
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
166+
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
167+
});
168+
</script>
169+
170+
<div id="content" class="content">
171+
<main>
172+
<h1 id="getting-started"><a class="header" href="#getting-started">Getting Started</a></h1>
173+
<p>Welcome to Asynchronous Programming in Rust! If you're looking to start writing
174+
asynchronous Rust code, you've come to the right place. Whether you're building
175+
a web server, a database, or an operating system, this book will show you
176+
how to use Rust's asynchronous programming tools to get the most out of your
177+
hardware.</p>
178+
<h2 id="what-this-book-covers"><a class="header" href="#what-this-book-covers">What This Book Covers</a></h2>
179+
<p>This book aims to be a comprehensive, up-to-date guide to using Rust's async
180+
language features and libraries, appropriate for beginners and old hands alike.</p>
181+
<ul>
182+
<li>
183+
<p>The early chapters provide an introduction to async programming in general,
184+
and to Rust's particular take on it.</p>
185+
</li>
186+
<li>
187+
<p>The middle chapters discuss key utilities and control-flow tools you can use
188+
when writing async code, and describe best-practices for structuring libraries
189+
and applications to maximize performance and reusability.</p>
190+
</li>
191+
<li>
192+
<p>The last section of the book covers the broader async ecosystem, and provides
193+
a number of examples of how to accomplish common tasks.</p>
194+
</li>
195+
</ul>
196+
<p>With that out of the way, let's explore the exciting world of Asynchronous
197+
Programming in Rust!</p>
198+
199+
</main>
200+
201+
<nav class="nav-wrapper" aria-label="Page navigation">
202+
<!-- Mobile navigation buttons -->
203+
<a rel="prev" href="../part-guide/streams.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
204+
<i class="fa fa-angle-left"></i>
205+
</a>
206+
207+
<a rel="next prefetch" href="../01_getting_started/02_why_async.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
208+
<i class="fa fa-angle-right"></i>
209+
</a>
210+
211+
<div style="clear: both"></div>
212+
</nav>
213+
</div>
214+
</div>
215+
216+
<nav class="nav-wide-wrapper" aria-label="Page navigation">
217+
<a rel="prev" href="../part-guide/streams.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
218+
<i class="fa fa-angle-left"></i>
219+
</a>
220+
221+
<a rel="next prefetch" href="../01_getting_started/02_why_async.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
222+
<i class="fa fa-angle-right"></i>
223+
</a>
224+
</nav>
225+
226+
</div>
227+
228+
229+
230+
231+
<script>
232+
window.playground_copyable = true;
233+
</script>
234+
235+
236+
<script src="../elasticlunr.min.js"></script>
237+
<script src="../mark.min.js"></script>
238+
<script src="../searcher.js"></script>
239+
240+
<script src="../clipboard.min.js"></script>
241+
<script src="../highlight.js"></script>
242+
<script src="../book.js"></script>
243+
244+
<!-- Custom JS scripts -->
245+
246+
247+
</div>
248+
</body>
249+
</html>

0 commit comments

Comments
 (0)