Files
GopherGate/target/doc/openssl/cipher/struct.Cipher.html
2026-02-26 12:00:21 -05:00

44 lines
71 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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="A symmetric cipher."><title>Cipher in openssl::cipher - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="openssl" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Cipher</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../openssl/index.html">openssl</a><span class="version">0.10.75</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Cipher</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.aes_128_cbc" title="aes_128_cbc">aes_128_cbc</a></li><li><a href="#method.aes_128_ccm" title="aes_128_ccm">aes_128_ccm</a></li><li><a href="#method.aes_128_cfb1" title="aes_128_cfb1">aes_128_cfb1</a></li><li><a href="#method.aes_128_cfb8" title="aes_128_cfb8">aes_128_cfb8</a></li><li><a href="#method.aes_128_cfb128" title="aes_128_cfb128">aes_128_cfb128</a></li><li><a href="#method.aes_128_ctr" title="aes_128_ctr">aes_128_ctr</a></li><li><a href="#method.aes_128_ecb" title="aes_128_ecb">aes_128_ecb</a></li><li><a href="#method.aes_128_gcm" title="aes_128_gcm">aes_128_gcm</a></li><li><a href="#method.aes_128_ocb" title="aes_128_ocb">aes_128_ocb</a></li><li><a href="#method.aes_128_ofb" title="aes_128_ofb">aes_128_ofb</a></li><li><a href="#method.aes_128_wrap" title="aes_128_wrap">aes_128_wrap</a></li><li><a href="#method.aes_128_wrap_pad" title="aes_128_wrap_pad">aes_128_wrap_pad</a></li><li><a href="#method.aes_128_xts" title="aes_128_xts">aes_128_xts</a></li><li><a href="#method.aes_192_cbc" title="aes_192_cbc">aes_192_cbc</a></li><li><a href="#method.aes_192_ccm" title="aes_192_ccm">aes_192_ccm</a></li><li><a href="#method.aes_192_cfb1" title="aes_192_cfb1">aes_192_cfb1</a></li><li><a href="#method.aes_192_cfb8" title="aes_192_cfb8">aes_192_cfb8</a></li><li><a href="#method.aes_192_cfb128" title="aes_192_cfb128">aes_192_cfb128</a></li><li><a href="#method.aes_192_ctr" title="aes_192_ctr">aes_192_ctr</a></li><li><a href="#method.aes_192_ecb" title="aes_192_ecb">aes_192_ecb</a></li><li><a href="#method.aes_192_gcm" title="aes_192_gcm">aes_192_gcm</a></li><li><a href="#method.aes_192_ocb" title="aes_192_ocb">aes_192_ocb</a></li><li><a href="#method.aes_192_ofb" title="aes_192_ofb">aes_192_ofb</a></li><li><a href="#method.aes_192_wrap" title="aes_192_wrap">aes_192_wrap</a></li><li><a href="#method.aes_192_wrap_pad" title="aes_192_wrap_pad">aes_192_wrap_pad</a></li><li><a href="#method.aes_256_cbc" title="aes_256_cbc">aes_256_cbc</a></li><li><a href="#method.aes_256_ccm" title="aes_256_ccm">aes_256_ccm</a></li><li><a href="#method.aes_256_cfb1" title="aes_256_cfb1">aes_256_cfb1</a></li><li><a href="#method.aes_256_cfb8" title="aes_256_cfb8">aes_256_cfb8</a></li><li><a href="#method.aes_256_cfb128" title="aes_256_cfb128">aes_256_cfb128</a></li><li><a href="#method.aes_256_ctr" title="aes_256_ctr">aes_256_ctr</a></li><li><a href="#method.aes_256_ecb" title="aes_256_ecb">aes_256_ecb</a></li><li><a href="#method.aes_256_gcm" title="aes_256_gcm">aes_256_gcm</a></li><li><a href="#method.aes_256_ocb" title="aes_256_ocb">aes_256_ocb</a></li><li><a href="#method.aes_256_ofb" title="aes_256_ofb">aes_256_ofb</a></li><li><a href="#method.aes_256_wrap" title="aes_256_wrap">aes_256_wrap</a></li><li><a href="#method.aes_256_wrap_pad" title="aes_256_wrap_pad">aes_256_wrap_pad</a></li><li><a href="#method.aes_256_xts" title="aes_256_xts">aes_256_xts</a></li><li><a href="#method.bf_cbc" title="bf_cbc">bf_cbc</a></li><li><a href="#method.bf_cfb64" title="bf_cfb64">bf_cfb64</a></li><li><a href="#method.bf_ecb" title="bf_ecb">bf_ecb</a></li><li><a href="#method.bf_ofb" title="bf_ofb">bf_ofb</a></li><li><a href="#method.camellia128_cbc" title="camellia128_cbc">camellia128_cbc</a></li><li><a href="#method.camellia128_cfb128" title="camellia128_cfb128">camellia128_cfb128</a></li><li><a href="#method.camellia128_ecb" title="camellia128_ecb">camellia128_ecb</a></li><li><a href="#method.camellia128_ofb" title="camellia128_ofb">camellia128_ofb</a></li><li><a href="#method.camellia192_cbc" title="camellia192_cbc">camellia192_cbc</a></li><li><a href="#method.camellia192_cfb128" title="camellia192_cfb128">camellia192_cfb128</a></li><li><a href="#method.camellia192_ecb" title="camellia192_ecb">camellia192_ecb</a></li><li><a href="#method.camellia192_ofb" title="camellia192_ofb">camellia192_ofb</a></li><li><a href="#method.camellia256_cbc" title="camellia256_cbc">camellia256_cbc</a></li><li><a href="#method.camellia256_cfb128" title="camellia256_cfb128">camellia256_cfb128</a></li><li><a href="#method.camellia256_ecb" title="camellia256_ecb">camellia256_ecb</a></li><li><a href="#method.camellia256_ofb" title="camellia256_ofb">camellia256_ofb</a></li><li><a href="#method.cast5_cbc" title="cast5_cbc">cast5_cbc</a></li><li><a href="#method.cast5_cfb64" title="cast5_cfb64">cast5_cfb64</a></li><li><a href="#method.cast5_ecb" title="cast5_ecb">cast5_ecb</a></li><li><a href="#method.cast5_ofb" title="cast5_ofb">cast5_ofb</a></li><li><a href="#method.chacha20" title="chacha20">chacha20</a></li><li><a href="#method.chacha20_poly1305" title="chacha20_poly1305">chacha20_poly1305</a></li><li><a href="#method.des_cbc" title="des_cbc">des_cbc</a></li><li><a href="#method.des_ecb" title="des_ecb">des_ecb</a></li><li><a href="#method.des_ede3" title="des_ede3">des_ede3</a></li><li><a href="#method.des_ede3_cbc" title="des_ede3_cbc">des_ede3_cbc</a></li><li><a href="#method.des_ede3_cfb8" title="des_ede3_cfb8">des_ede3_cfb8</a></li><li><a href="#method.des_ede3_cfb64" title="des_ede3_cfb64">des_ede3_cfb64</a></li><li><a href="#method.des_ede3_ecb" title="des_ede3_ecb">des_ede3_ecb</a></li><li><a href="#method.des_ede3_ofb" title="des_ede3_ofb">des_ede3_ofb</a></li><li><a href="#method.fetch" title="fetch">fetch</a></li><li><a href="#method.from_nid" title="from_nid">from_nid</a></li><li><a href="#method.idea_cbc" title="idea_cbc">idea_cbc</a></li><li><a href="#method.idea_cfb64" title="idea_cfb64">idea_cfb64</a></li><li><a href="#method.idea_ecb" title="idea_ecb">idea_ecb</a></li><li><a href="#method.idea_ofb" title="idea_ofb">idea_ofb</a></li><li><a href="#method.rc4" title="rc4">rc4</a></li><li><a href="#method.seed_cbc" title="seed_cbc">seed_cbc</a></li><li><a href="#method.seed_cfb128" title="seed_cfb128">seed_cfb128</a></li><li><a href="#method.seed_ecb" title="seed_ecb">seed_ecb</a></li><li><a href="#method.seed_ofb" title="seed_ofb">seed_ofb</a></li><li><a href="#method.sm4_cbc" title="sm4_cbc">sm4_cbc</a></li><li><a href="#method.sm4_cfb128" title="sm4_cfb128">sm4_cfb128</a></li><li><a href="#method.sm4_ctr" title="sm4_ctr">sm4_ctr</a></li><li><a href="#method.sm4_ecb" title="sm4_ecb">sm4_ecb</a></li><li><a href="#method.sm4_ofb" title="sm4_ofb">sm4_ofb</a></li></ul><h3><a href="#deref-methods-CipherRef">Methods from Deref&lt;<wbr>Target=<wbr>Cipher<wbr>Ref&gt;</a></h3><ul class="block deref-methods"><li><a href="#method.block_size" title="block_size">block_size</a></li><li><a href="#method.iv_length" title="iv_length">iv_length</a></li><li><a href="#method.key_length" title="key_length">key_length</a></li><li><a href="#method.nid" title="nid">nid</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Deref-for-Cipher" title="Deref">Deref</a></li><li><a href="#impl-DerefMut-for-Cipher" title="DerefMut">DerefMut</a></li><li><a href="#impl-Drop-for-Cipher" title="Drop">Drop</a></li><li><a href="#impl-ForeignType-for-Cipher" title="ForeignType">ForeignType</a></li><li><a href="#impl-Send-for-Cipher" title="Send">Send</a></li><li><a href="#impl-Sync-for-Cipher" title="Sync">Sync</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Cipher" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Cipher" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Unpin-for-Cipher" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Cipher" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-Receiver-for-P" title="Receiver">Receiver</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In openssl::<wbr>cipher</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">openssl</a>::<wbr><a href="index.html">cipher</a></div><h1>Struct <span class="struct">Cipher</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/openssl/cipher.rs.html#113">Source</a> </span></div><pre class="rust item-decl"><code>pub struct Cipher(<span class="comment">/* private fields */</span>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A symmetric cipher.</p>
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#118-554">Source</a><a href="#impl-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_nid" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#121-130">Source</a><h4 class="code-header">pub fn <a href="#method.from_nid" class="fn">from_nid</a>(nid: <a class="struct" href="../nid/struct.Nid.html" title="struct openssl::nid::Nid">Nid</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a>&gt;</h4></section></summary><div class="docblock"><p>Looks up the cipher for a certain nid.</p>
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/EVP_get_cipherbynid.html"><code>EVP_get_cipherbynid</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.fetch" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#137-154">Source</a><h4 class="code-header">pub fn <a href="#method.fetch" class="fn">fetch</a>(
ctx: <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../lib_ctx/struct.LibCtxRef.html" title="struct openssl::lib_ctx::LibCtxRef">LibCtxRef</a>&gt;,
algorithm: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>,
properties: <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>&gt;</h4></section></summary><div class="docblock"><p>Fetches a cipher object corresponding to the specified algorithm name and properties.</p>
<p>Requires OpenSSL 3.0.0 or newer.</p>
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_fetch.html"><code>EVP_CIPHER_fetch</code></a>.</p>
</div></details><section id="method.aes_128_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#156-158">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ecb" class="fn">aes_128_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#160-162">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_cbc" class="fn">aes_128_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_xts" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#165-167">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_xts" class="fn">aes_128_xts</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_xts" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#170-172">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_xts" class="fn">aes_256_xts</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_ctr" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#174-176">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ctr" class="fn">aes_128_ctr</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_cfb1" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#179-181">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_cfb1" class="fn">aes_128_cfb1</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_cfb128" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#184-186">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_cfb128" class="fn">aes_128_cfb128</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_cfb8" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#189-191">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_cfb8" class="fn">aes_128_cfb8</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_gcm" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#193-195">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_gcm" class="fn">aes_128_gcm</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_ccm" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#198-200">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ccm" class="fn">aes_128_ccm</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_128_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#202-204">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ofb" class="fn">aes_128_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.aes_128_ocb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#208-210">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ocb" class="fn">aes_128_ocb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.1.0 or newer.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.aes_128_wrap" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#214-216">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_wrap" class="fn">aes_128_wrap</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.0.2 or newer.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.aes_128_wrap_pad" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#220-222">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_wrap_pad" class="fn">aes_128_wrap_pad</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.1.0 or newer.</p>
</div></details><section id="method.aes_192_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#224-226">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ecb" class="fn">aes_192_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_192_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#228-230">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_cbc" class="fn">aes_192_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_192_ctr" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#232-234">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ctr" class="fn">aes_192_ctr</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_192_cfb1" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#237-239">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_cfb1" class="fn">aes_192_cfb1</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_192_cfb128" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#242-244">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_cfb128" class="fn">aes_192_cfb128</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_192_cfb8" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#247-249">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_cfb8" class="fn">aes_192_cfb8</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_192_gcm" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#251-253">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_gcm" class="fn">aes_192_gcm</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_192_ccm" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#256-258">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ccm" class="fn">aes_192_ccm</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_192_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#260-262">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ofb" class="fn">aes_192_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.aes_192_ocb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#266-268">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ocb" class="fn">aes_192_ocb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.1.0 or newer.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.aes_192_wrap" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#272-274">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_wrap" class="fn">aes_192_wrap</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.0.2 or newer.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.aes_192_wrap_pad" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#278-280">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_wrap_pad" class="fn">aes_192_wrap_pad</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.1.0 or newer.</p>
</div></details><section id="method.aes_256_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#282-284">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ecb" class="fn">aes_256_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#286-288">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_cbc" class="fn">aes_256_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_ctr" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#290-292">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ctr" class="fn">aes_256_ctr</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_cfb1" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#295-297">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_cfb1" class="fn">aes_256_cfb1</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_cfb128" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#300-302">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_cfb128" class="fn">aes_256_cfb128</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_cfb8" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#305-307">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_cfb8" class="fn">aes_256_cfb8</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_gcm" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#309-311">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_gcm" class="fn">aes_256_gcm</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_ccm" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#314-316">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ccm" class="fn">aes_256_ccm</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.aes_256_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#318-320">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ofb" class="fn">aes_256_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.aes_256_ocb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#324-326">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ocb" class="fn">aes_256_ocb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.1.0 or newer.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.aes_256_wrap" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#330-332">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_wrap" class="fn">aes_256_wrap</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.0.2 or newer.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.aes_256_wrap_pad" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#336-338">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_wrap_pad" class="fn">aes_256_wrap_pad</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.1.0 or newer.</p>
</div></details><section id="method.bf_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#341-343">Source</a><h4 class="code-header">pub fn <a href="#method.bf_cbc" class="fn">bf_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.bf_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#346-348">Source</a><h4 class="code-header">pub fn <a href="#method.bf_ecb" class="fn">bf_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.bf_cfb64" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#351-353">Source</a><h4 class="code-header">pub fn <a href="#method.bf_cfb64" class="fn">bf_cfb64</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.bf_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#356-358">Source</a><h4 class="code-header">pub fn <a href="#method.bf_ofb" class="fn">bf_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.des_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#360-362">Source</a><h4 class="code-header">pub fn <a href="#method.des_cbc" class="fn">des_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.des_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#364-366">Source</a><h4 class="code-header">pub fn <a href="#method.des_ecb" class="fn">des_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.des_ede3" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#368-370">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3" class="fn">des_ede3</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.des_ede3_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#372-374">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_ecb" class="fn">des_ede3_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.des_ede3_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#376-378">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_cbc" class="fn">des_ede3_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.des_ede3_cfb8" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#381-383">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_cfb8" class="fn">des_ede3_cfb8</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.des_ede3_cfb64" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#386-388">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_cfb64" class="fn">des_ede3_cfb64</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.des_ede3_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#391-393">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_ofb" class="fn">des_ede3_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.rc4" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#396-398">Source</a><h4 class="code-header">pub fn <a href="#method.rc4" class="fn">rc4</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia128_cfb128" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#401-403">Source</a><h4 class="code-header">pub fn <a href="#method.camellia128_cfb128" class="fn">camellia128_cfb128</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia128_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#406-408">Source</a><h4 class="code-header">pub fn <a href="#method.camellia128_ecb" class="fn">camellia128_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia128_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#411-413">Source</a><h4 class="code-header">pub fn <a href="#method.camellia128_cbc" class="fn">camellia128_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia128_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#416-418">Source</a><h4 class="code-header">pub fn <a href="#method.camellia128_ofb" class="fn">camellia128_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia192_cfb128" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#421-423">Source</a><h4 class="code-header">pub fn <a href="#method.camellia192_cfb128" class="fn">camellia192_cfb128</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia192_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#426-428">Source</a><h4 class="code-header">pub fn <a href="#method.camellia192_ecb" class="fn">camellia192_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia192_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#431-433">Source</a><h4 class="code-header">pub fn <a href="#method.camellia192_cbc" class="fn">camellia192_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia192_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#436-438">Source</a><h4 class="code-header">pub fn <a href="#method.camellia192_ofb" class="fn">camellia192_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia256_cfb128" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#441-443">Source</a><h4 class="code-header">pub fn <a href="#method.camellia256_cfb128" class="fn">camellia256_cfb128</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia256_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#446-448">Source</a><h4 class="code-header">pub fn <a href="#method.camellia256_ecb" class="fn">camellia256_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia256_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#451-453">Source</a><h4 class="code-header">pub fn <a href="#method.camellia256_cbc" class="fn">camellia256_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.camellia256_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#456-458">Source</a><h4 class="code-header">pub fn <a href="#method.camellia256_ofb" class="fn">camellia256_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.cast5_cfb64" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#461-463">Source</a><h4 class="code-header">pub fn <a href="#method.cast5_cfb64" class="fn">cast5_cfb64</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.cast5_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#466-468">Source</a><h4 class="code-header">pub fn <a href="#method.cast5_ecb" class="fn">cast5_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.cast5_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#471-473">Source</a><h4 class="code-header">pub fn <a href="#method.cast5_cbc" class="fn">cast5_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.cast5_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#476-478">Source</a><h4 class="code-header">pub fn <a href="#method.cast5_ofb" class="fn">cast5_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.idea_cfb64" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#481-483">Source</a><h4 class="code-header">pub fn <a href="#method.idea_cfb64" class="fn">idea_cfb64</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.idea_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#486-488">Source</a><h4 class="code-header">pub fn <a href="#method.idea_ecb" class="fn">idea_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.idea_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#491-493">Source</a><h4 class="code-header">pub fn <a href="#method.idea_cbc" class="fn">idea_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.idea_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#496-498">Source</a><h4 class="code-header">pub fn <a href="#method.idea_ofb" class="fn">idea_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.chacha20" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#501-503">Source</a><h4 class="code-header">pub fn <a href="#method.chacha20" class="fn">chacha20</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.chacha20_poly1305" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#506-508">Source</a><h4 class="code-header">pub fn <a href="#method.chacha20_poly1305" class="fn">chacha20_poly1305</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.seed_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#511-513">Source</a><h4 class="code-header">pub fn <a href="#method.seed_cbc" class="fn">seed_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.seed_cfb128" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#516-518">Source</a><h4 class="code-header">pub fn <a href="#method.seed_cfb128" class="fn">seed_cfb128</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.seed_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#521-523">Source</a><h4 class="code-header">pub fn <a href="#method.seed_ecb" class="fn">seed_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.seed_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#526-528">Source</a><h4 class="code-header">pub fn <a href="#method.seed_ofb" class="fn">seed_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.sm4_ecb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#531-533">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_ecb" class="fn">sm4_ecb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.sm4_cbc" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#536-538">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_cbc" class="fn">sm4_cbc</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.sm4_ctr" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#541-543">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_ctr" class="fn">sm4_ctr</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.sm4_cfb128" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#546-548">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_cfb128" class="fn">sm4_cfb128</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section><section id="method.sm4_ofb" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#551-553">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_ofb" class="fn">sm4_ofb</a>() -&gt; &amp;'static <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></div></details></div><details class="toggle big-toggle" open><summary><h2 id="deref-methods-CipherRef" class="section-header"><span>Methods from <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a>&gt;</span><a href="#deref-methods-CipherRef" class="anchor">§</a></h2></summary><div id="deref-methods-CipherRef-1" class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.nid" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#569-572">Source</a><h4 class="code-header">pub fn <a href="#method.nid" class="fn">nid</a>(&amp;self) -&gt; <a class="struct" href="../nid/struct.Nid.html" title="struct openssl::nid::Nid">Nid</a></h4></section></summary><div class="docblock"><p>Returns the ciphers Nid.</p>
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_nid.html"><code>EVP_CIPHER_nid</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.key_length" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#576-578">Source</a><h4 class="code-header">pub fn <a href="#method.key_length" class="fn">key_length</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a></h4></section></summary><div class="docblock"><p>Returns the length of keys used with this cipher.</p>
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_key_length.html"><code>EVP_CIPHER_key_length</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.iv_length" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#586-588">Source</a><h4 class="code-header">pub fn <a href="#method.iv_length" class="fn">iv_length</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a></h4></section></summary><div class="docblock"><p>Returns the length of the IV used with this cipher.</p>
<h5 id="note"><a class="doc-anchor" href="#note">§</a>Note</h5>
<p>Ciphers that do not use an IV have an IV length of 0.</p>
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_iv_length.html"><code>EVP_CIPHER_iv_length</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.block_size" class="method"><a class="src rightside" href="../../src/openssl/cipher.rs.html#596-598">Source</a><h4 class="code-header">pub fn <a href="#method.block_size" class="fn">block_size</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a></h4></section></summary><div class="docblock"><p>Returns the block size of the cipher.</p>
<h5 id="note-1"><a class="doc-anchor" href="#note-1">§</a>Note</h5>
<p>Stream ciphers have a block size of 1.</p>
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_block_size.html"><code>EVP_CIPHER_block_size</code></a>.</p>
</div></details></div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#72-81">Source</a><a href="#impl-Deref-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#73">Source</a><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#76-80">Source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DerefMut-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#83-90">Source</a><a href="#impl-DerefMut-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#85-89">Source</a><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut" class="fn">deref_mut</a>(&amp;mut self) -&gt; &amp;mut Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Mutably dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Drop-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#48-55">Source</a><a href="#impl-Drop-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#50-54">Source</a><a href="#method.drop" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/ops/drop/trait.Drop.html#tymethod.drop" class="fn">drop</a>(&amp;mut self)</h4></section></summary><div class='docblock'>Executes the destructor for this type. <a href="https://doc.rust-lang.org/1.93.1/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ForeignType-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#57-70">Source</a><a href="#impl-ForeignType-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../foreign_types_shared/trait.ForeignType.html" title="trait foreign_types_shared::ForeignType">ForeignType</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.CType" class="associatedtype trait-impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#58">Source</a><a href="#associatedtype.CType" class="anchor">§</a><h4 class="code-header">type <a href="../../foreign_types_shared/trait.ForeignType.html#associatedtype.CType" class="associatedtype">CType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/types/enum.EVP_CIPHER.html" title="enum openssl_sys::openssl::handwritten::types::EVP_CIPHER">EVP_CIPHER</a></h4></section></summary><div class='docblock'>The raw C type.</div></details><details class="toggle" open><summary><section id="associatedtype.Ref" class="associatedtype trait-impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#59">Source</a><a href="#associatedtype.Ref" class="anchor">§</a><h4 class="code-header">type <a href="../../foreign_types_shared/trait.ForeignType.html#associatedtype.Ref" class="associatedtype">Ref</a> = <a class="struct" href="struct.CipherRef.html" title="struct openssl::cipher::CipherRef">CipherRef</a></h4></section></summary><div class='docblock'>The type representing a reference to this type.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_ptr" class="method trait-impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#62-64">Source</a><a href="#method.from_ptr" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../../foreign_types_shared/trait.ForeignType.html#tymethod.from_ptr" class="fn">from_ptr</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*mut </a>Self::<a class="associatedtype" href="../../foreign_types_shared/trait.ForeignType.html#associatedtype.CType" title="type foreign_types_shared::ForeignType::CType">CType</a>) -&gt; Self</h4></section></summary><div class='docblock'>Constructs an instance of this type from its raw type.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_ptr" class="method trait-impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#67-69">Source</a><a href="#method.as_ptr" class="anchor">§</a><h4 class="code-header">fn <a href="../../foreign_types_shared/trait.ForeignType.html#tymethod.as_ptr" class="fn">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*mut </a>Self::<a class="associatedtype" href="../../foreign_types_shared/trait.ForeignType.html#associatedtype.CType" title="type foreign_types_shared::ForeignType::CType">CType</a></h4></section></summary><div class='docblock'>Returns a raw pointer to the wrapped value.</div></details></div></details><section id="impl-Send-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#116">Source</a><a href="#impl-Send-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section><section id="impl-Sync-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/cipher.rs.html#115">Source</a><a href="#impl-Sync-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Cipher" class="impl"><a href="#impl-Freeze-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section><section id="impl-RefUnwindSafe-for-Cipher" class="impl"><a href="#impl-RefUnwindSafe-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section><section id="impl-Unpin-for-Cipher" class="impl"><a href="#impl-Unpin-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section><section id="impl-UnwindSafe-for-Cipher" class="impl"><a href="#impl-UnwindSafe-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::cipher::Cipher">Cipher</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Receiver-for-P" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/ops/deref.rs.html#378-380">Source</a><a href="#impl-Receiver-for-P" class="anchor">§</a><h3 class="code-header">impl&lt;P, T&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Receiver.html" title="trait core::ops::deref::Receiver">Receiver</a> for P<div class="where">where
P: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = T&gt; + ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/ops/deref.rs.html#382">Source</a><a href="#associatedtype.Target-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/ops/deref/trait.Receiver.html#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>arbitrary_self_types</code>)</span></div></span><div class='docblock'>The target type on which the method may be called.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>