<linkrel="alternate icon"type="image/png"href="../favicon-32x32.png"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../abstutil/index.html'><divclass='logo-container rust-logo'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct Timer</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.errors">errors</a><ahref="#structfield.notes">notes</a><ahref="#structfield.outermost_name">outermost_name</a><ahref="#structfield.results">results</a><ahref="#structfield.sink">sink</a><ahref="#structfield.stack">stack</a><ahref="#structfield.warnings">warnings</a></div><aclass="sidebar-title"href="#implementations">Methods</a><divclass="sidebar-links"><ahref="#method.add_result">add_result</a><ahref="#method.cancel_iter_early">cancel_iter_early</a><ahref="#method.done">done</a><ahref="#method.error">error</a><ahref="#method.new">new</a><ahref="#method.new_with_sink">new_with_sink</a><ahref="#method.next">next</a><ahref="#method.note">note</a><ahref="#method.parallelize">parallelize</a><ahref="#method.println">println</a><ahref="#method.read_file">read_file</a><ahref="#method.selfless_println">selfless_println</a><ahref="#method.start">start</a><ahref="#method.start_iter">start_iter</a><ahref="#method.stop">stop</a><ahref="#method.throwaway">throwaway</a><ahref="#method.warn">warn</a></div><aclass="sidebar-title"href="#trait-implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Drop">Drop</a><ahref="#impl-Read">Read</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">!RefUnwindSafe</a><ahref="#impl-Send">!Send</a><ahref="#impl-Sync">!Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">!UnwindSafe</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-ReadBytesExt">ReadBytesExt</a><ahref="#impl-TermRead">TermRead</a><ahref="#impl-TermReadEventsAndRaw">TermReadEventsAndRaw</a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='index.html'>abstutil</a></p><script>window.sidebarCurrent={name:'Timer',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"disabledautocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><spanclass="help-button">?</span>
</div><h4id='method.read_file'class="method"><code>pub fn <ahref='#method.read_file'class='fnname'>read_file</a>(&mut self, path: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code><aclass='srclink'href='../src/abstutil/time.rs.html#403-407'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Then the caller passes this in as a reader</p>
</div></div><h2id='trait-implementations'class='small-section-header'>Trait Implementations<ahref='#trait-implementations'class='anchor'></a></h2><divid='trait-implementations-list'><h3id='impl-Drop'class='impl'><codeclass='in-band'>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html"title="trait core::ops::drop::Drop">Drop</a> for <aclass="struct"href="../abstutil/struct.Timer.html"title="struct abstutil::Timer">Timer</a><'a></code><ahref='#impl-Drop'class='anchor'></a><aclass='srclink'href='../src/abstutil/time.rs.html#410-485'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.drop'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop'class='fnname'>drop</a>(&mut self)</code><aclass='srclink'href='../src/abstutil/time.rs.html#411-484'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Executes the destructor for this type. <ahref="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
</div></div><h3id='impl-Read'class='impl'><codeclass='in-band'>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> for <aclass="struct"href="../abstutil/struct.Timer.html"title="struct abstutil::Timer">Timer</a><'a></code><ahref='#impl-Read'class='anchor'></a><aclass='srclink'href='../src/abstutil/time.rs.html#535-608'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.read'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#tymethod.read'class='fnname'>read</a>(&mut self, buf: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code><aclass='srclink'href='../src/abstutil/time.rs.html#536-607'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Pull some bytes from this source into the specified buffer, returning
how many bytes were read. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#tymethod.read">Read more</a></p>
</div><h4id='method.read_vectored'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_vectored'class='fnname'>read_vectored</a>(&mut self, bufs: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/struct.IoSliceMut.html"title="struct std::io::IoSliceMut">IoSliceMut</a><'_><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code><spanclass='since'title='Stable since Rust version 1.36.0'>1.36.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#573-575'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Like <code>read</code>, except that it reads into a slice of buffers. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_vectored">Read more</a></p>
</div><h4id='method.is_read_vectored'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.is_read_vectored'class='fnname'>is_read_vectored</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#586-588'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>can_vector</code>)</div></div><divclass='docblock hidden'><p>Determines if this <code>Read</code>er has an efficient <code>read_vectored</code>
</div><h4id='method.initializer'class="method hidden"><code>unsafe fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.initializer'class='fnname'>initializer</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/struct.Initializer.html"title="struct std::io::Initializer">Initializer</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#611-613'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>read_initializer</code>)</div></div><divclass='docblock hidden'><p>Determines if this <code>Read</code>er can work with buffers of uninitialized
</div><h4id='method.read_to_end'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_to_end'class='fnname'>read_to_end</a>(&mut self, buf: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#662-664'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Read all bytes until EOF in this source, placing them into <code>buf</code>. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_to_end">Read more</a></p>
</div><h4id='method.read_to_string'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_to_string'class='fnname'>read_to_string</a>(&mut self, buf: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#705-716'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Read all bytes until EOF in this source, appending them to <code>buf</code>. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_to_string">Read more</a></p>
</div><h4id='method.read_exact'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_exact'class='fnname'>read_exact</a>(&mut self, buf: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code><spanclass='since'title='Stable since Rust version 1.6.0'>1.6.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#769-786'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Read the exact number of bytes required to fill <code>buf</code>. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_exact">Read more</a></p>
</div><h4id='method.by_ref'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.by_ref'class='fnname'>by_ref</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#823-828'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates a "by reference" adaptor for this instance of <code>Read</code>. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.by_ref">Read more</a></p>
</div><h4id='method.bytes'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.bytes'class='fnname'>bytes</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/struct.Bytes.html"title="struct std::io::Bytes">Bytes</a><Self></code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#860-865'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Transforms this <code>Read</code> instance to an <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> over its bytes. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.bytes">Read more</a></p>
</div><h4id='method.chain'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.chain'class='fnname'>chain</a><R>(self, next: R) -><aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/struct.Chain.html"title="struct std::io::Chain">Chain</a><Self, R><spanclass="where fmt-newline">where<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a>, </span></code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#898-903'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an adaptor which will chain this stream with another. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.chain">Read more</a></p>
</div><h4id='method.take'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.take'class='fnname'>take</a>(self, limit: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/struct.Take.html"title="struct std::io::Take">Take</a><Self></code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/std/io/mod.rs.html#937-942'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an adaptor which will read at most <code>limit</code> bytes from it. <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.take">Read more</a></p>
</div></div><h3id='impl-ReadBytesExt'class='impl'><codeclass='in-band'>impl<R> ReadBytesExt for R <spanclass="where fmt-newline">where<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-ReadBytesExt'class='anchor'></a></h3><divclass='impl-items'><h4id='method.read_u8'class="method hidden"><code>fn <ahref='#method.read_u8'class='fnname'>read_u8</a>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code></h4><divclass='docblock hidden'><p>Reads an unsigned 8 bit integer from the underlying reader. <ahref="#method.read_u8">Read more</a></p>
</div><h4id='method.read_i8'class="method hidden"><code>fn <ahref='#method.read_i8'class='fnname'>read_i8</a>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code></h4><divclass='docblock hidden'><p>Reads a signed 8 bit integer from the underlying reader. <ahref="#method.read_i8">Read more</a></p>
</div><h4id='method.read_u16'class="method hidden"><code>fn <ahref='#method.read_u16'class='fnname'>read_u16</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads an unsigned 16 bit integer from the underlying reader. <ahref="#method.read_u16">Read more</a></p>
</div><h4id='method.read_i16'class="method hidden"><code>fn <ahref='#method.read_i16'class='fnname'>read_i16</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a signed 16 bit integer from the underlying reader. <ahref="#method.read_i16">Read more</a></p>
</div><h4id='method.read_u24'class="method hidden"><code>fn <ahref='#method.read_u24'class='fnname'>read_u24</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads an unsigned 24 bit integer from the underlying reader. <ahref="#method.read_u24">Read more</a></p>
</div><h4id='method.read_i24'class="method hidden"><code>fn <ahref='#method.read_i24'class='fnname'>read_i24</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a signed 24 bit integer from the underlying reader. <ahref="#method.read_i24">Read more</a></p>
</div><h4id='method.read_u32'class="method hidden"><code>fn <ahref='#method.read_u32'class='fnname'>read_u32</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads an unsigned 32 bit integer from the underlying reader. <ahref="#method.read_u32">Read more</a></p>
</div><h4id='method.read_i32'class="method hidden"><code>fn <ahref='#method.read_i32'class='fnname'>read_i32</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a signed 32 bit integer from the underlying reader. <ahref="#method.read_i32">Read more</a></p>
</div><h4id='method.read_u48'class="method hidden"><code>fn <ahref='#method.read_u48'class='fnname'>read_u48</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads an unsigned 48 bit integer from the underlying reader. <ahref="#method.read_u48">Read more</a></p>
</div><h4id='method.read_i48'class="method hidden"><code>fn <ahref='#method.read_i48'class='fnname'>read_i48</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a signed 48 bit integer from the underlying reader. <ahref="#method.read_i48">Read more</a></p>
</div><h4id='method.read_u64'class="method hidden"><code>fn <ahref='#method.read_u64'class='fnname'>read_u64</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads an unsigned 64 bit integer from the underlying reader. <ahref="#method.read_u64">Read more</a></p>
</div><h4id='method.read_i64'class="method hidden"><code>fn <ahref='#method.read_i64'class='fnname'>read_i64</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a signed 64 bit integer from the underlying reader. <ahref="#method.read_i64">Read more</a></p>
</div><h4id='method.read_u128'class="method hidden"><code>fn <ahref='#method.read_u128'class='fnname'>read_u128</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads an unsigned 128 bit integer from the underlying reader. <ahref="#method.read_u128">Read more</a></p>
</div><h4id='method.read_i128'class="method hidden"><code>fn <ahref='#method.read_i128'class='fnname'>read_i128</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a signed 128 bit integer from the underlying reader. <ahref="#method.read_i128">Read more</a></p>
</div><h4id='method.read_uint'class="method hidden"><code>fn <ahref='#method.read_uint'class='fnname'>read_uint</a><T>(&mut self, nbytes: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads an unsigned n-bytes integer from the underlying reader. <ahref="#method.read_uint">Read more</a></p>
</div><h4id='method.read_int'class="method hidden"><code>fn <ahref='#method.read_int'class='fnname'>read_int</a><T>(&mut self, nbytes: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a signed n-bytes integer from the underlying reader. <ahref="#method.read_int">Read more</a></p>
</div><h4id='method.read_uint128'class="method hidden"><code>fn <ahref='#method.read_uint128'class='fnname'>read_uint128</a><T>(&mut self, nbytes: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads an unsigned n-bytes integer from the underlying reader.</p>
</div><h4id='method.read_int128'class="method hidden"><code>fn <ahref='#method.read_int128'class='fnname'>read_int128</a><T>(&mut self, nbytes: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a signed n-bytes integer from the underlying reader.</p>
</div><h4id='method.read_f32'class="method hidden"><code>fn <ahref='#method.read_f32'class='fnname'>read_f32</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a IEEE754 single-precision (4 bytes) floating point number from
the underlying reader. <ahref="#method.read_f32">Read more</a></p>
</div><h4id='method.read_f64'class="method hidden"><code>fn <ahref='#method.read_f64'class='fnname'>read_f64</a><T>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a IEEE754 double-precision (8 bytes) floating point number from
the underlying reader. <ahref="#method.read_f64">Read more</a></p>
</div><h4id='method.read_u16_into'class="method hidden"><code>fn <ahref='#method.read_u16_into'class='fnname'>read_u16_into</a><T>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a sequence of unsigned 16 bit integers from the underlying
</div><h4id='method.read_u32_into'class="method hidden"><code>fn <ahref='#method.read_u32_into'class='fnname'>read_u32_into</a><T>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a sequence of unsigned 32 bit integers from the underlying
</div><h4id='method.read_u64_into'class="method hidden"><code>fn <ahref='#method.read_u64_into'class='fnname'>read_u64_into</a><T>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a sequence of unsigned 64 bit integers from the underlying
</div><h4id='method.read_u128_into'class="method hidden"><code>fn <ahref='#method.read_u128_into'class='fnname'>read_u128_into</a><T>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a sequence of unsigned 128 bit integers from the underlying
</div><h4id='method.read_i8_into'class="method hidden"><code>fn <ahref='#method.read_i8_into'class='fnname'>read_i8_into</a>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></code></h4><divclass='docblock hidden'><p>Reads a sequence of signed 8 bit integers from the underlying reader. <ahref="#method.read_i8_into">Read more</a></p>
</div><h4id='method.read_i16_into'class="method hidden"><code>fn <ahref='#method.read_i16_into'class='fnname'>read_i16_into</a><T>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a sequence of signed 16 bit integers from the underlying
</div><h4id='method.read_i32_into'class="method hidden"><code>fn <ahref='#method.read_i32_into'class='fnname'>read_i32_into</a><T>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a sequence of signed 32 bit integers from the underlying
</div><h4id='method.read_i64_into'class="method hidden"><code>fn <ahref='#method.read_i64_into'class='fnname'>read_i64_into</a><T>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a sequence of signed 64 bit integers from the underlying
</div><h4id='method.read_i128_into'class="method hidden"><code>fn <ahref='#method.read_i128_into'class='fnname'>read_i128_into</a><T>(&mut self, dst: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>><spanclass="where fmt-newline">where<br> T: ByteOrder, </span></code></h4><divclass='docblock hidden'><p>Reads a sequence of signed 128 bit integers from the underlying
</div></div><h3id='impl-TermReadEventsAndRaw'class='impl'><codeclass='in-band'>impl<R> TermReadEventsAndRaw for R <spanclass="where fmt-newline">where<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a>, </span></code><ahref='#impl-TermReadEventsAndRaw'class='anchor'></a></h3><divclass='impl-items'><h4id='method.events_and_raw'class="method hidden"><code>fn <ahref='#method.events_and_raw'class='fnname'>events_and_raw</a>(self) -> EventsAndRaw<R></code></h4><divclass='docblock hidden'><p>An iterator over input events and the bytes that define them.</p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#588-597'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><code>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#594-596'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#574-583'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><code>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#580-582'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>