<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"role="button">☰</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.outermost_name">outermost_name</a><ahref="#structfield.results">results</a><ahref="#structfield.sink">sink</a><ahref="#structfield.stack">stack</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.new">new</a><ahref="#method.new_with_sink">new_with_sink</a><ahref="#method.next">next</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></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>::<wbr><ahref="index.html">time</a></p><divid="sidebar-vars"data-name="Timer"data-ty="struct"data-relpath=""></div><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"aria-haspopup="menu"><imgsrc="../../brush.svg"width="18"height="18"alt="Pick another theme!"></button><divid="theme-choices"role="menu"></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><buttontype="button"class="help-button">?</button>
</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="type"href="https://docs.rs/anyhow/1.0.38/anyhow/type.Result.html"title="type anyhow::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></code><aclass="srclink"href="../../src/abstutil/time.rs.html#377-381"title="goto source code">[src]</a></h4><divclass="docblock"><p>Then the caller passes this in as a reader</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/time/struct.Timer.html"title="struct abstutil::time::Timer">Timer</a><'a></code><ahref="#impl-Read"class="anchor"></a><aclass="srclink"href="../../src/abstutil/time.rs.html#481-554"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="type"href="https://docs.rs/anyhow/1.0.38/anyhow/type.Result.html"title="type anyhow::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#482-553"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Pull some bytes from this source into the specified buffer, returning
</div><h4id="method.read_vectored"class="method hidden"><code>pub fn <ahref="https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_vectored"class="fnname">read_vectored</a>(<br> &mut self, <br> 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><br>) -><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#596"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>pub 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#609"title="goto source code">[src]</a></h4><divclass="item-info 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>pub 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#634"title="goto source code">[src]</a></h4><divclass="item-info 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>pub 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="struct"href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</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#685"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>pub 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#728"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>pub 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#792"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>pub 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#831-833"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>pub 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#868-870"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>pub 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#906-908"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>pub 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#945-947"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></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor"></a></h2><divid="synthetic-implementations-list"><h3id="impl-RefUnwindSafe"class="impl"><codeclass="in-band">impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="../../abstutil/time/struct.Timer.html"title="struct abstutil::time::Timer">Timer</a><'a></code><ahref="#impl-RefUnwindSafe"class="anchor"></a></h3><divclass="impl-items"></div><h3id="impl-Send"class="impl"><codeclass="in-band">impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../abstutil/time/struct.Timer.html"title="struct abstutil::time::Timer">Timer</a><'a></code><ahref="#impl-Send"class="anchor"></a></h3><divclass="impl-items"></div><h3id="impl-Sync"class="impl"><codeclass="in-band">impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../abstutil/time/struct.Timer.html"title="struct abstutil::time::Timer">Timer</a><'a></code><ahref="#impl-Sync"class="anchor"></a></h3><divclass="impl-items"></div><h3id="impl-Unpin"class="impl"><codeclass="in-band">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="../../abstutil/time/struct.Timer.html"title="struct abstutil::time::Timer">Timer</a><'a></code><ahref="#impl-Unpin"class="anchor"></a></h3><divclass="impl-items"></div><h3id="impl-UnwindSafe"class="impl"><codeclass="in-band">impl<'a> !<aclass="trait"href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"title="trait std::panic::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="../../abstutil/time/struct.Timer.html"title="struct abstutil::time::Timer">Timer</a><'a></code><ahref="#impl-UnwindSafe"class="anchor"></a></h3><divclass="impl-items"></div></div><h2id="blanket-implementations"class="small-section-header">Blanket Implementations<ahref="#blanket-implementations"class="anchor"></a></h2><divid="blanket-implementations-list"><h3id="impl-Any"class="impl"><codeclass="in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<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-Any"class="anchor"></a><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135"title="goto source code">[src]</a></h3><divclass="impl-items"><h4id="method.type_id"class="method hidden"><code>pub fn <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id"class="fnname">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3id="impl-Borrow%3CT%3E"class="impl"><codeclass="in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<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-Borrow%3CT%3E"class="anchor"></a><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208-213"title="goto source code">[src]</a></h3><divclass="impl-items"><h4id="method.borrow"class="method hidden"><code>pub fn <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow"class="fnname">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id="impl-BorrowMut%3CT%3E"class="impl"><codeclass="in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<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-BorrowMut%3CT%3E"class="anchor"></a><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216-220"title="goto source code">[src]</a></h3><divclass="impl-items"><h4id="method.borrow_mut"class="method hidden"><code>pub fn <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fnname">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3id="impl-From%3CT%3E"class="impl"><codeclass="in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</code><ahref="#impl-From%3CT%3E"class="anchor"></a><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#544-548"title="goto source code">[src]</a></h3><divclass="impl-items"><h4id="method.from"class="method hidden"><code>pub fn <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from"class="fnname">from</a>(t: T) -> T</code><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#545"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id="impl-Into%3CU%3E"class="impl"><codeclass="in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref="#impl-Into%3CU%3E"class="anchor"></a><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#533-540"title="goto source code">[src]</a></h3><divclass="impl-items"><h4id="method.into"class="method hidden"><code>pub fn <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into"class="fnname">into</a>(self) -> U</code><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#537"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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
</div><h4id="method.read_u16_into"class="method hidden"><code>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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>pub 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#581-590"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>pub 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#587"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#567-576"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>pub 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#573"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>