-ty">Result</span><span class="op">&lt;</span>(), <span class="ident">Error</span><span class="op">&gt;</span> {
        <span class="comment">// Similar to the `read` implementation</span>
    }
}
</pre></div>
<h2 id="intended-usage" class="section-header"><a href="#intended-usage">Intended usage</a></h2>
<p>Thanks to the <a href="https://crates.io/crates/nb"><code>nb</code></a> crate the HAL API can be used in a blocking manner,
with <code>futures</code> or with the <code>await</code> operator using the <