ctions can be
found in the <code>blocking</code> module and, in the future, in the <code>futures</code> and <code>async</code> modules.</p>
<p>Some examples:</p>
<p><strong>NOTE</strong> All the functions shown below could have been written as trait
methods with default implementation to allow specialization, but they have
been written as functions to keep things simple.</p>
<ul>
<li>Write a whole buffer to a serial device in blocking a fashion.</li>
</ul>

<div class="example-wrap"><pre class="rust rust-ex