blob: 3486331bccf2bc9d5b7e6aa6362b9ad5ddc86fb6 [file] [log] [blame]
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Types decodable in BER."><meta name="keywords" content="rust, rustlang, rust-lang, BERDecodable"><title>BERDecodable in yasna - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../yasna/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../yasna/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">BERDecodable</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.decode_ber">decode_ber</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-BERDecodable-for-()">()</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1)">(T0, T1)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2)">(T0, T1, T2)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3)">(T0, T1, T2, T3)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4)">(T0, T1, T2, T3, T4)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5)">(T0, T1, T2, T3, T4, T5)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6)">(T0, T1, T2, T3, T4, T5, T6)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7)">(T0, T1, T2, T3, T4, T5, T6, T7)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8)">(T0, T1, T2, T3, T4, T5, T6, T7, T8)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9%2C%20T10)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9%2C%20T10%2C%20T11)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)</a></li><li><a href="#impl-BERDecodable-for-(T0%2C)">(T0,)</a></li><li><a href="#impl-BERDecodable-for-BigInt">BigInt</a></li><li><a href="#impl-BERDecodable-for-BigUint">BigUint</a></li><li><a href="#impl-BERDecodable-for-BitVec">BitVec</a></li><li><a href="#impl-BERDecodable-for-String">String</a></li><li><a href="#impl-BERDecodable-for-Vec%3CT%3E">Vec&lt;T&gt;</a></li><li><a href="#impl-BERDecodable-for-Vec%3Cu8%3E">Vec&lt;u8&gt;</a></li><li><a href="#impl-BERDecodable-for-bool">bool</a></li><li><a href="#impl-BERDecodable-for-i16">i16</a></li><li><a href="#impl-BERDecodable-for-i32">i32</a></li><li><a href="#impl-BERDecodable-for-i64">i64</a></li><li><a href="#impl-BERDecodable-for-u16">u16</a></li><li><a href="#impl-BERDecodable-for-u32">u32</a></li><li><a href="#impl-BERDecodable-for-u64">u64</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In yasna</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="index.html">yasna</a>::<wbr><a class="trait" href="#">BERDecodable</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/yasna/deserializer/mod.rs.html#55-87">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub trait BERDecodable: Sized {
fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>&lt;'a, 'b&gt;(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'a, 'b&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;;
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Types decodable in BER.</p>
<h2 id="examples"><a href="#examples">Examples</a></h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>yasna;
<span class="kw">let </span>asn : i64 = yasna::decode_der(<span class="kw-2">&amp;</span>[<span class="number">2</span>, <span class="number">3</span>, <span class="number">0</span>, <span class="number">255</span>, <span class="number">255</span>]).unwrap();
<span class="macro">assert_eq!</span>(asn, <span class="number">65535</span>);</code></pre></div>
<h2 id="limitations"><a href="#limitations">Limitations</a></h2>
<p>Rust types don’t correspond to ASN.1 types one-to-one. Not all kinds
of ASN.1 types can be decoded via default <code>BERDecodable</code> implementation.</p>
<p>If you want to decode ASN.1, you may implement <code>BERDecodable</code> for your
own types or use <a href="fn.parse_der.html"><code>parse_der</code></a>/<a href="fn.parse_ber.html"><code>parse_ber</code></a>.</p>
<h2 id="default-implementations"><a href="#default-implementations">Default implementations</a></h2>
<ul>
<li>The decoder for <code>Vec&lt;T&gt;</code> is implemented as SEQUENCE OF decoder.</li>
<li><code>()</code> as NULL decoder.</li>
<li>Tuples (except <code>()</code>) as SEQUENCE decoder.</li>
<li><code>Vec&lt;u8&gt;</code> as OCTETSTRING decoder.</li>
<li><code>BitVec</code> as BITSTRING decoder.</li>
<li><code>String</code> as UTF8String decoder.</li>
<li><code>i64</code>, <code>u64</code>, <code>i32</code>, <code>u32</code>, <code>i16</code>, <code>u16</code>, <code>BigInt</code>, <code>BigUint</code>
as INTEGER decoder. (<code>u8</code> is avoided because of confliction.)</li>
<li><code>bool</code> as BOOLEAN decoder.</li>
<li><code>ObjectIdentifier</code> as OBJECTT IDENTIFIER decoder.</li>
<li><code>UTCTime</code>/<code>GeneralizedTime</code> as UTCTime/GeneralizedTime decoder.</li>
</ul>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.decode_ber" class="method has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#86">source</a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>&lt;'a, 'b&gt;(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'a, 'b&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></summary><div class="docblock"><p>Reads an ASN.1 value from <code>BERReader</code> and converts it to <code>Self</code>.</p>
<h5 id="examples-1"><a href="#examples-1">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>yasna::{BERDecodable,BERReader,ASN1Result};
<span class="kw">struct </span>Entry {
name: String,
age: i64,
}
<span class="kw">impl </span>BERDecodable <span class="kw">for </span>Entry {
<span class="kw">fn </span>decode_ber(reader: BERReader) -&gt; ASN1Result&lt;<span class="self">Self</span>&gt; {
reader.read_sequence(|reader| {
<span class="kw">let </span>name = <span class="macro">try!</span>(reader.next().read_visible_string());
<span class="kw">let </span>age = <span class="macro">try!</span>(reader.next().read_i64());
<span class="kw">return </span><span class="prelude-val">Ok</span>(Entry {
name: name,
age: age,
});
})
}
}
<span class="kw">fn </span>main() {
<span class="kw">let </span>entry : Entry = yasna::decode_der(
<span class="kw-2">&amp;</span>[<span class="number">48</span>, <span class="number">9</span>, <span class="number">26</span>, <span class="number">4</span>, <span class="number">74</span>, <span class="number">111</span>, <span class="number">104</span>, <span class="number">110</span>, <span class="number">2</span>, <span class="number">1</span>, <span class="number">32</span>]).unwrap();
<span class="macro">assert_eq!</span>(entry.name, <span class="string">&quot;John&quot;</span>);
<span class="macro">assert_eq!</span>(entry.age, <span class="number">32</span>);
}</code></pre></div>
</div></details></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-Vec%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#139-159">source</a><a href="#impl-BERDecodable-for-Vec%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for Vec&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#140-158">source</a><a href="#method.decode_ber" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-i64" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#161-165">source</a><a href="#impl-BERDecodable-for-i64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for i64</h3></section></summary><div class="impl-items"><section id="method.decode_ber-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#162-164">source</a><a href="#method.decode_ber-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-u64" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#167-171">source</a><a href="#impl-BERDecodable-for-u64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for u64</h3></section></summary><div class="impl-items"><section id="method.decode_ber-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#168-170">source</a><a href="#method.decode_ber-2" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-i32" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#173-177">source</a><a href="#impl-BERDecodable-for-i32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for i32</h3></section></summary><div class="impl-items"><section id="method.decode_ber-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#174-176">source</a><a href="#method.decode_ber-3" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-u32" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#179-183">source</a><a href="#impl-BERDecodable-for-u32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for u32</h3></section></summary><div class="impl-items"><section id="method.decode_ber-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#180-182">source</a><a href="#method.decode_ber-4" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-i16" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#185-189">source</a><a href="#impl-BERDecodable-for-i16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for i16</h3></section></summary><div class="impl-items"><section id="method.decode_ber-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#186-188">source</a><a href="#method.decode_ber-5" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-u16" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#191-195">source</a><a href="#impl-BERDecodable-for-u16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for u16</h3></section></summary><div class="impl-items"><section id="method.decode_ber-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#192-194">source</a><a href="#method.decode_ber-6" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-BigInt" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#198-202">source</a><a href="#impl-BERDecodable-for-BigInt" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for <a class="struct" href="../num_bigint/bigint/struct.BigInt.html" title="struct num_bigint::bigint::BigInt">BigInt</a></h3></section></summary><div class="impl-items"><section id="method.decode_ber-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#199-201">source</a><a href="#method.decode_ber-7" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-BigUint" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#205-209">source</a><a href="#impl-BERDecodable-for-BigUint" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for <a class="struct" href="../num_bigint/biguint/struct.BigUint.html" title="struct num_bigint::biguint::BigUint">BigUint</a></h3></section></summary><div class="impl-items"><section id="method.decode_ber-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#206-208">source</a><a href="#method.decode_ber-8" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-bool" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#211-215">source</a><a href="#impl-BERDecodable-for-bool" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for bool</h3></section></summary><div class="impl-items"><section id="method.decode_ber-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#212-214">source</a><a href="#method.decode_ber-9" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-BitVec" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#218-222">source</a><a href="#impl-BERDecodable-for-BitVec" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for <a class="struct" href="../bit_vec/struct.BitVec.html" title="struct bit_vec::BitVec">BitVec</a></h3></section></summary><div class="impl-items"><section id="method.decode_ber-10" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#219-221">source</a><a href="#method.decode_ber-10" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-Vec%3Cu8%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#224-228">source</a><a href="#impl-BERDecodable-for-Vec%3Cu8%3E" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for Vec&lt;u8&gt;</h3></section></summary><div class="impl-items"><section id="method.decode_ber-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#225-227">source</a><a href="#method.decode_ber-11" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-String" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#230-234">source</a><a href="#impl-BERDecodable-for-String" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for String</h3></section></summary><div class="impl-items"><section id="method.decode_ber-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#231-233">source</a><a href="#method.decode_ber-12" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-()" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#256-260">source</a><a href="#impl-BERDecodable-for-()" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for ()</h3></section></summary><div class="impl-items"><section id="method.decode_ber-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#257-259">source</a><a href="#method.decode_ber-13" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#262-270">source</a><a href="#impl-BERDecodable-for-(T0%2C)" class="anchor"></a><h3 class="code-header">impl&lt;T0&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0,)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#264-269">source</a><a href="#method.decode_ber-14" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#272-281">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#274-280">source</a><a href="#method.decode_ber-15" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#283-293">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#285-292">source</a><a href="#method.decode_ber-16" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#295-307">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#298-306">source</a><a href="#method.decode_ber-17" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#309-322">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3, T4&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3, T4)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T4: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#312-321">source</a><a href="#method.decode_ber-18" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#324-338">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3, T4, T5&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3, T4, T5)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T4: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T5: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#327-337">source</a><a href="#method.decode_ber-19" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#340-356">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3, T4, T5, T6&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3, T4, T5, T6)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T4: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T5: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T6: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#344-355">source</a><a href="#method.decode_ber-20" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#358-376">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3, T4, T5, T6, T7&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3, T4, T5, T6, T7)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T4: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T5: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T6: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T7: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#363-375">source</a><a href="#method.decode_ber-21" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#378-397">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3, T4, T5, T6, T7, T8&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T4: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T5: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T6: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T7: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T8: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#383-396">source</a><a href="#method.decode_ber-22" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#399-420">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3, T4, T5, T6, T7, T8, T9&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T4: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T5: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T6: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T7: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T8: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T9: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#405-419">source</a><a href="#method.decode_ber-23" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9%2C%20T10)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#422-444">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9%2C%20T10)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T4: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T5: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T6: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T7: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T8: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T9: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T10: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-24" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#428-443">source</a><a href="#method.decode_ber-24" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9%2C%20T10%2C%20T11)" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#446-469">source</a><a href="#impl-BERDecodable-for-(T0%2C%20T1%2C%20T2%2C%20T3%2C%20T4%2C%20T5%2C%20T6%2C%20T7%2C%20T8%2C%20T9%2C%20T10%2C%20T11)" class="anchor"></a><h3 class="code-header">impl&lt;T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11&gt; <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T0: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T3: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T4: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T5: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T6: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T7: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T8: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T9: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T10: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T11: <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a>,</span></h3></section></summary><div class="impl-items"><section id="method.decode_ber-25" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#452-468">source</a><a href="#method.decode_ber-25" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.decode_ber" class="fnname">decode_ber</a>(reader: <a class="struct" href="struct.BERReader.html" title="struct yasna::BERReader">BERReader</a>&lt;'_, '_&gt;) -&gt; <a class="type" href="type.ASN1Result.html" title="type yasna::ASN1Result">ASN1Result</a>&lt;Self&gt;</h4></section></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"><section id="impl-BERDecodable-for-GeneralizedTime" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#250-254">source</a><a href="#impl-BERDecodable-for-GeneralizedTime" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for <a class="struct" href="models/struct.GeneralizedTime.html" title="struct yasna::models::GeneralizedTime">GeneralizedTime</a></h3></section><section id="impl-BERDecodable-for-ObjectIdentifier" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#236-240">source</a><a href="#impl-BERDecodable-for-ObjectIdentifier" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for <a class="struct" href="models/struct.ObjectIdentifier.html" title="struct yasna::models::ObjectIdentifier">ObjectIdentifier</a></h3></section><section id="impl-BERDecodable-for-TaggedDerValue" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#471-475">source</a><a href="#impl-BERDecodable-for-TaggedDerValue" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for <a class="struct" href="models/struct.TaggedDerValue.html" title="struct yasna::models::TaggedDerValue">TaggedDerValue</a></h3></section><section id="impl-BERDecodable-for-UTCTime" class="impl has-srclink"><a class="srclink rightside" href="../src/yasna/deserializer/mod.rs.html#243-247">source</a><a href="#impl-BERDecodable-for-UTCTime" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.BERDecodable.html" title="trait yasna::BERDecodable">BERDecodable</a> for <a class="struct" href="models/struct.UTCTime.html" title="struct yasna::models::UTCTime">UTCTime</a></h3></section></div><script src="../implementors/yasna/deserializer/trait.BERDecodable.js" data-ignore-extern-crates="bit_vec,core,alloc,num_bigint" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="yasna" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>