<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='../abstio/index.html'><divclass='logo-container rust-logo'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass="location">Struct FileWithProgress</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><divclass="sidebar-links"><ahref="#structfield.inner">inner</a><ahref="#structfield.last_printed_at">last_printed_at</a><ahref="#structfield.path">path</a><ahref="#structfield.processed_bytes">processed_bytes</a><ahref="#structfield.started_at">started_at</a><ahref="#structfield.total_bytes">total_bytes</a></div><aclass="sidebar-title"href="#implementations">Methods</a><divclass="sidebar-links"><ahref="#method.new">new</a></div><aclass="sidebar-title"href="#trait-implementations">Trait Implementations</a><divclass="sidebar-links"><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-Instrument">Instrument</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">abstio</a></p><script>window.sidebarCurrent={name:"FileWithProgress",ty:"struct",relpath:""};</script><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"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_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#574-576"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#587-589"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#612-614"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#663-665"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#706-717"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#770-787"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#824-829"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#861-866"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#899-904"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#938-943"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 <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="../abstio/io_native/struct.FileWithProgress.html"title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></code><ahref="#impl-RefUnwindSafe"class="anchor"></a><aclass="srclink"href="../src/abstio/lib.rs.html#1"title="goto source code">[src]</a></h3><divclass="impl-items"></div><h3id="impl-Send"class="impl"><codeclass="in-band">impl <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="../abstio/io_native/struct.FileWithProgress.html"title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></code><ahref="#impl-Send"class="anchor"></a><aclass="srclink"href="../src/abstio/lib.rs.html#1"title="goto source code">[src]</a></h3><divclass="impl-items"></div><h3id="impl-Sync"class="impl"><codeclass="in-band">impl <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="../abstio/io_native/struct.FileWithProgress.html"title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></code><ahref="#impl-Sync"class="anchor"></a><aclass="srclink"href="../src/abstio/lib.rs.html#1"title="goto source code">[src]</a></h3><divclass="impl-items"></div><h3id="impl-Unpin"class="impl"><codeclass="in-band">impl <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="../abstio/io_native/struct.FileWithProgress.html"title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></code><ahref="#impl-Unpin"class="anchor"></a><aclass="srclink"href="../src/abstio/lib.rs.html#1"title="goto source code">[src]</a></h3><divclass="impl-items"></div><h3id="impl-UnwindSafe"class="impl"><codeclass="in-band">impl <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="../abstio/io_native/struct.FileWithProgress.html"title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></code><ahref="#impl-UnwindSafe"class="anchor"></a><aclass="srclink"href="../src/abstio/lib.rs.html#1"title="goto source code">[src]</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#108-112"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#109-111"title="goto source code">[src]</a></h4><divclass='docblock hidden'
</div></div><h3id="impl-Instrument"class="impl"><codeclass="in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.23/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</code><ahref="#impl-Instrument"class="anchor"></a><aclass="srclink"href="https://docs.rs/tracing/0.1.23/src/tracing/instrument.rs.html#155"title="goto source code">[src]</a></h3><divclass="impl-items"><h4id="method.instrument"class="method hidden"><code>pub fn <ahref="https://docs.rs/tracing/0.1.23/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.23/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.23/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><aclass="srclink"href="https://docs.rs/tracing/0.1.23/src/tracing/instrument.rs.html#38-40"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Instruments this type with the provided <code>Span</code>, returning an
</div><h4id="method.in_current_span"class="method hidden"><code>pub fn <ahref="https://docs.rs/tracing/0.1.23/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.23/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><aclass="srclink"href="https://docs.rs/tracing/0.1.23/src/tracing/instrument.rs.html#74-76"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Instruments this type with the <ahref="../struct.Span.html#method.current">current</a><code>Span</code>, returning an
</div></div><h3id="impl-Instrument-1"class="impl"><codeclass="in-band">impl<T><aclass="trait"href="https://docs.rs/tracing-futures/0.2.3/tracing_futures/trait.Instrument.html"title="trait tracing_futures::Instrument">Instrument</a> for T</code><ahref="#impl-Instrument-1"class="anchor"></a><aclass="srclink"href="https://docs.rs/tracing-futures/0.2.3/src/tracing_futures/lib.rs.html#248"title="goto source code">[src]</a></h3><divclass="impl-items"><h4id="method.instrument-1"class="method hidden"><code>pub fn <ahref="https://docs.rs/tracing-futures/0.2.3/tracing_futures/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.23/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing-futures/0.2.3/tracing_futures/struct.Instrumented.html"title="struct tracing_futures::Instrumented">Instrumented</a><Self></code><aclass="srclink"href="https://docs.rs/tracing-futures/0.2.3/src/tracing_futures/lib.rs.html#129-131"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Instruments this type with the provided <code>Span</code>, returning an
</div><h4id="method.in_current_span-1"class="method hidden"><code>pub fn <ahref="https://docs.rs/tracing-futures/0.2.3/tracing_futures/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing-futures/0.2.3/tracing_futures/struct.Instrumented.html"title="struct tracing_futures::Instrumented">Instrumented</a><Self></code><aclass="srclink"href="https://docs.rs/tracing-futures/0.2.3/src/tracing_futures/lib.rs.html#166-168"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Instruments this type with the <ahref="https://docs.rs/tracing/latest/tracing/span/struct.Span.html#method.current">current</a><code>Span</code>, returning an
</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#589-598"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#595-597"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#575-584"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#581-583"title="goto source code">[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>