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

34 lines
66 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="Represents a particular cipher algorithm."><title>Cipher in openssl::symm - 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_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_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_xts" title="aes_256_xts">aes_256_xts</a></li><li><a href="#method.as_ptr" title="as_ptr">as_ptr</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.block_size" title="block_size">block_size</a></li><li><a href="#method.camellia_128_cbc" title="camellia_128_cbc">camellia_128_cbc</a></li><li><a href="#method.camellia_128_cfb128" title="camellia_128_cfb128">camellia_128_cfb128</a></li><li><a href="#method.camellia_128_ecb" title="camellia_128_ecb">camellia_128_ecb</a></li><li><a href="#method.camellia_128_ofb" title="camellia_128_ofb">camellia_128_ofb</a></li><li><a href="#method.camellia_192_cbc" title="camellia_192_cbc">camellia_192_cbc</a></li><li><a href="#method.camellia_192_cfb128" title="camellia_192_cfb128">camellia_192_cfb128</a></li><li><a href="#method.camellia_192_ecb" title="camellia_192_ecb">camellia_192_ecb</a></li><li><a href="#method.camellia_192_ofb" title="camellia_192_ofb">camellia_192_ofb</a></li><li><a href="#method.camellia_256_cbc" title="camellia_256_cbc">camellia_256_cbc</a></li><li><a href="#method.camellia_256_cfb128" title="camellia_256_cfb128">camellia_256_cfb128</a></li><li><a href="#method.camellia_256_ecb" title="camellia_256_ecb">camellia_256_ecb</a></li><li><a href="#method.camellia_256_ofb" title="camellia_256_ofb">camellia_256_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.from_nid" title="from_nid">from_nid</a></li><li><a href="#method.from_ptr" title="from_ptr">from_ptr</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.iv_len" title="iv_len">iv_len</a></li><li><a href="#method.key_len" title="key_len">key_len</a></li><li><a href="#method.nid" title="nid">nid</a></li><li><a href="#method.rc4" title="rc4">rc4</a></li><li><a href="#method.rc2_40_cbc" title="rc2_40_cbc">rc2_40_cbc</a></li><li><a href="#method.rc2_cbc" title="rc2_cbc">rc2_cbc</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="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Cipher" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-Cipher" title="Copy">Copy</a></li><li><a href="#impl-Eq-for-Cipher" title="Eq">Eq</a></li><li><a href="#impl-PartialEq-for-Cipher" title="PartialEq">PartialEq</a></li><li><a href="#impl-Send-for-Cipher" title="Send">Send</a></li><li><a href="#impl-StructuralPartialEq-for-Cipher" title="StructuralPartialEq">StructuralPartialEq</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-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</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-ToOwned-for-T" title="ToOwned">ToOwned</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>symm</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">symm</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/symm.rs.html#74">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>Represents a particular cipher algorithm.</p>
<p>See OpenSSL doc at <a href="https://docs.openssl.org/master/man3/EVP_EncryptInit/"><code>EVP_EncryptInit</code></a> for more information on each algorithms.</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/symm.rs.html#76-538">Source</a><a href="#impl-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::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/symm.rs.html#79-86">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;<a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</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.nid" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#90-93">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><section id="method.aes_128_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#95-97">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ecb" class="fn">aes_128_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#99-101">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_cbc" class="fn">aes_128_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_xts" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#104-106">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_xts" class="fn">aes_128_xts</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_ctr" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#108-110">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ctr" class="fn">aes_128_ctr</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_cfb1" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#113-115">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_cfb1" class="fn">aes_128_cfb1</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_cfb128" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#118-120">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_cfb128" class="fn">aes_128_cfb128</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_cfb8" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#123-125">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_cfb8" class="fn">aes_128_cfb8</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_gcm" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#127-129">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_gcm" class="fn">aes_128_gcm</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_ccm" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#132-134">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ccm" class="fn">aes_128_ccm</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_128_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#136-138">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ofb" class="fn">aes_128_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</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/symm.rs.html#142-144">Source</a><h4 class="code-header">pub fn <a href="#method.aes_128_ocb" class="fn">aes_128_ocb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</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/symm.rs.html#146-148">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ecb" class="fn">aes_192_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_192_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#150-152">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_cbc" class="fn">aes_192_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_192_ctr" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#154-156">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ctr" class="fn">aes_192_ctr</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_192_cfb1" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#159-161">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_cfb1" class="fn">aes_192_cfb1</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_192_cfb128" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#164-166">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_cfb128" class="fn">aes_192_cfb128</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_192_cfb8" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#169-171">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_cfb8" class="fn">aes_192_cfb8</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_192_gcm" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#173-175">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_gcm" class="fn">aes_192_gcm</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_192_ccm" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#178-180">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ccm" class="fn">aes_192_ccm</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_192_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#182-184">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ofb" class="fn">aes_192_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</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/symm.rs.html#188-190">Source</a><h4 class="code-header">pub fn <a href="#method.aes_192_ocb" class="fn">aes_192_ocb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</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/symm.rs.html#192-194">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ecb" class="fn">aes_256_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#196-198">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_cbc" class="fn">aes_256_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_xts" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#201-203">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_xts" class="fn">aes_256_xts</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_ctr" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#205-207">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ctr" class="fn">aes_256_ctr</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_cfb1" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#210-212">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_cfb1" class="fn">aes_256_cfb1</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_cfb128" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#215-217">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_cfb128" class="fn">aes_256_cfb128</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_cfb8" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#220-222">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_cfb8" class="fn">aes_256_cfb8</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_gcm" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#224-226">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_gcm" class="fn">aes_256_gcm</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_ccm" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#229-231">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ccm" class="fn">aes_256_ccm</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.aes_256_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#233-235">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ofb" class="fn">aes_256_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</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/symm.rs.html#239-241">Source</a><h4 class="code-header">pub fn <a href="#method.aes_256_ocb" class="fn">aes_256_ocb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</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/symm.rs.html#244-246">Source</a><h4 class="code-header">pub fn <a href="#method.bf_cbc" class="fn">bf_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.bf_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#249-251">Source</a><h4 class="code-header">pub fn <a href="#method.bf_ecb" class="fn">bf_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.bf_cfb64" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#254-256">Source</a><h4 class="code-header">pub fn <a href="#method.bf_cfb64" class="fn">bf_cfb64</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.bf_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#259-261">Source</a><h4 class="code-header">pub fn <a href="#method.bf_ofb" class="fn">bf_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.des_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#263-265">Source</a><h4 class="code-header">pub fn <a href="#method.des_cbc" class="fn">des_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.des_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#267-269">Source</a><h4 class="code-header">pub fn <a href="#method.des_ecb" class="fn">des_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.des_ede3" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#271-273">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3" class="fn">des_ede3</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.des_ede3_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#275-277">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_cbc" class="fn">des_ede3_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.des_ede3_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#279-281">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_ecb" class="fn">des_ede3_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.des_ede3_cfb64" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#284-286">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_cfb64" class="fn">des_ede3_cfb64</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.des_ede3_cfb8" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#289-291">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_cfb8" class="fn">des_ede3_cfb8</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.des_ede3_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#294-296">Source</a><h4 class="code-header">pub fn <a href="#method.des_ede3_ofb" class="fn">des_ede3_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.rc4" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#299-301">Source</a><h4 class="code-header">pub fn <a href="#method.rc4" class="fn">rc4</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_128_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#304-306">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_128_cbc" class="fn">camellia_128_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_128_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#309-311">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_128_ecb" class="fn">camellia_128_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_128_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#314-316">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_128_ofb" class="fn">camellia_128_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_128_cfb128" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#319-321">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_128_cfb128" class="fn">camellia_128_cfb128</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_192_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#324-326">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_192_cbc" class="fn">camellia_192_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_192_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#329-331">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_192_ecb" class="fn">camellia_192_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_192_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#334-336">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_192_ofb" class="fn">camellia_192_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_192_cfb128" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#339-341">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_192_cfb128" class="fn">camellia_192_cfb128</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_256_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#344-346">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_256_cbc" class="fn">camellia_256_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_256_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#349-351">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_256_ecb" class="fn">camellia_256_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_256_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#354-356">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_256_ofb" class="fn">camellia_256_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.camellia_256_cfb128" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#359-361">Source</a><h4 class="code-header">pub fn <a href="#method.camellia_256_cfb128" class="fn">camellia_256_cfb128</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.cast5_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#364-366">Source</a><h4 class="code-header">pub fn <a href="#method.cast5_cbc" class="fn">cast5_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.cast5_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#369-371">Source</a><h4 class="code-header">pub fn <a href="#method.cast5_ecb" class="fn">cast5_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.cast5_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#374-376">Source</a><h4 class="code-header">pub fn <a href="#method.cast5_ofb" class="fn">cast5_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.cast5_cfb64" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#379-381">Source</a><h4 class="code-header">pub fn <a href="#method.cast5_cfb64" class="fn">cast5_cfb64</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.chacha20" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#385-387">Source</a><h4 class="code-header">pub fn <a href="#method.chacha20" class="fn">chacha20</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</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.chacha20_poly1305" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#391-393">Source</a><h4 class="code-header">pub fn <a href="#method.chacha20_poly1305" class="fn">chacha20_poly1305</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section></summary><div class="docblock"><p>Requires OpenSSL 1.1.0 or newer.</p>
</div></details><section id="method.idea_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#396-398">Source</a><h4 class="code-header">pub fn <a href="#method.idea_cbc" class="fn">idea_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.idea_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#401-403">Source</a><h4 class="code-header">pub fn <a href="#method.idea_ecb" class="fn">idea_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.idea_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#406-408">Source</a><h4 class="code-header">pub fn <a href="#method.idea_ofb" class="fn">idea_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.idea_cfb64" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#411-413">Source</a><h4 class="code-header">pub fn <a href="#method.idea_cfb64" class="fn">idea_cfb64</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.seed_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#416-418">Source</a><h4 class="code-header">pub fn <a href="#method.seed_cbc" class="fn">seed_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.seed_cfb128" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#421-423">Source</a><h4 class="code-header">pub fn <a href="#method.seed_cfb128" class="fn">seed_cfb128</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.seed_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#426-428">Source</a><h4 class="code-header">pub fn <a href="#method.seed_ecb" class="fn">seed_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.seed_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#431-433">Source</a><h4 class="code-header">pub fn <a href="#method.seed_ofb" class="fn">seed_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.sm4_ecb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#436-438">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_ecb" class="fn">sm4_ecb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.sm4_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#441-443">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_cbc" class="fn">sm4_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.sm4_ctr" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#446-448">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_ctr" class="fn">sm4_ctr</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.sm4_cfb128" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#451-453">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_cfb128" class="fn">sm4_cfb128</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.sm4_ofb" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#456-458">Source</a><h4 class="code-header">pub fn <a href="#method.sm4_ofb" class="fn">sm4_ofb</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.rc2_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#461-463">Source</a><h4 class="code-header">pub fn <a href="#method.rc2_cbc" class="fn">rc2_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><section id="method.rc2_40_cbc" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#466-468">Source</a><h4 class="code-header">pub fn <a href="#method.rc2_40_cbc" class="fn">rc2_40_cbc</a>() -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.from_ptr" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#475-477">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.from_ptr" class="fn">from_ptr</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*const </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>) -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section></summary><div class="docblock"><p>Creates a <code>Cipher</code> from a raw pointer to its OpenSSL type.</p>
<h5 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h5>
<p>The caller must ensure the pointer is valid for the <code>'static</code> lifetime.</p>
</div></details><section id="method.as_ptr" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#480-482">Source</a><h4 class="code-header">pub fn <a href="#method.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">*const </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><details class="toggle method-toggle" open><summary><section id="method.key_len" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#486-488">Source</a><h4 class="code-header">pub fn <a href="#method.key_len" class="fn">key_len</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>
</div></details><details class="toggle method-toggle" open><summary><section id="method.iv_len" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#493-502">Source</a><h4 class="code-header">pub fn <a href="#method.iv_len" class="fn">iv_len</a>(&amp;self) -&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;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the length of the IV used with this cipher, or <code>None</code> if the
cipher does not use an IV.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.block_size" class="method"><a class="src rightside" href="../../src/openssl/symm.rs.html#510-512">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"><a class="doc-anchor" href="#note">§</a>Note</h5>
<p>Stream ciphers such as RC4 have a block size of 1.</p>
</div></details></div></details></div><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-Clone-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#73">Source</a><a href="#impl-Clone-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#73">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/clone.rs.html#245-247">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#73">Source</a><a href="#impl-PartialEq-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#73">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
and should not be overridden without very good reason.</div></details></div></details><section id="impl-Copy-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#73">Source</a><a href="#impl-Copy-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.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h3></section><section id="impl-Eq-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#73">Source</a><a href="#impl-Eq-for-Cipher" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h3></section><section id="impl-Send-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#541">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::symm::Cipher">Cipher</a></h3></section><section id="impl-StructuralPartialEq-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#73">Source</a><a href="#impl-StructuralPartialEq-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.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.Cipher.html" title="struct openssl::symm::Cipher">Cipher</a></h3></section><section id="impl-Sync-for-Cipher" class="impl"><a class="src rightside" href="../../src/openssl/symm.rs.html#540">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::symm::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::symm::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::symm::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::symm::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::symm::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-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/clone.rs.html#547">Source</a><a href="#impl-CloneToUninit-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/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/clone.rs.html#549">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&amp;self, dest: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/1.93.1/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/alloc/borrow.rs.html#85-87">Source</a><a href="#impl-ToOwned-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/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/alloc/borrow.rs.html#89">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/alloc/borrow.rs.html#90">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/alloc/borrow.rs.html#94">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <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'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></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>