blob: ee965557321e71cbcedfc43da19b94447564e8c0 [file] [log] [blame]
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait implemented by types which can be placed in a stack."><meta name="keywords" content="rust, rustlang, rust-lang, Stackable"><title>Stackable in openssl::stack - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../openssl/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../openssl/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Stackable</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.StackType">StackType</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In openssl::stack</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="../index.html">openssl</a>::<wbr><a href="index.html">stack</a>::<wbr><a class="trait" href="#">Stackable</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../src/openssl/stack.rs.html#34-40">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub trait Stackable: <a class="trait" href="../../foreign_types_shared/trait.ForeignType.html" title="trait foreign_types_shared::ForeignType">ForeignType</a> {
type <a href="#associatedtype.StackType" class="associatedtype">StackType</a>;
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait implemented by types which can be placed in a stack.</p>
<p>It should not be implemented for any type outside of this crate.</p>
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="associatedtype.StackType" class="method has-srclink"><a class="srclink rightside" href="../../src/openssl/stack.rs.html#39">source</a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a></h4></section></summary><div class="docblock"><p>The C stack type for this element.</p>
<p>Generally called <code>stack_st_{ELEMENT_TYPE}</code>, normally hidden by the
<code>STACK_OF(ELEMENT_TYPE)</code> macro in the OpenSSL API.</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-Asn1Object" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/asn1.rs.html#678-680">source</a><a href="#impl-Stackable-for-Asn1Object" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../asn1/struct.Asn1Object.html" title="struct openssl::asn1::Asn1Object">Asn1Object</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/asn1/enum.stack_st_ASN1_OBJECT.html" title="enum openssl_sys::openssl::handwritten::asn1::stack_st_ASN1_OBJECT">stack_st_ASN1_OBJECT</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-SrtpProtectionProfile" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/srtp.rs.html#19-21">source</a><a href="#impl-Stackable-for-SrtpProtectionProfile" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../srtp/struct.SrtpProtectionProfile.html" title="struct openssl::srtp::SrtpProtectionProfile">SrtpProtectionProfile</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-2" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/ssl/enum.stack_st_SRTP_PROTECTION_PROFILE.html" title="enum openssl_sys::openssl::handwritten::ssl::stack_st_SRTP_PROTECTION_PROFILE">stack_st_SRTP_PROTECTION_PROFILE</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-SslCipher" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/ssl/mod.rs.html#1943-1945">source</a><a href="#impl-Stackable-for-SslCipher" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../ssl/struct.SslCipher.html" title="struct openssl::ssl::SslCipher">SslCipher</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-3" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-3" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/ssl/enum.stack_st_SSL_CIPHER.html" title="enum openssl_sys::openssl::handwritten::ssl::stack_st_SSL_CIPHER">stack_st_SSL_CIPHER</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-OpensslString" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/string.rs.html#31-33">source</a><a href="#impl-Stackable-for-OpensslString" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../string/struct.OpensslString.html" title="struct openssl::string::OpensslString">OpensslString</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-4" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-4" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/safestack/enum.stack_st_OPENSSL_STRING.html" title="enum openssl_sys::openssl::handwritten::safestack::stack_st_OPENSSL_STRING">stack_st_OPENSSL_STRING</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-AccessDescription" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/x509/mod.rs.html#2254-2256">source</a><a href="#impl-Stackable-for-AccessDescription" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../x509/struct.AccessDescription.html" title="struct openssl::x509::AccessDescription">AccessDescription</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-5" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-5" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/x509v3/enum.stack_st_ACCESS_DESCRIPTION.html" title="enum openssl_sys::openssl::handwritten::x509v3::stack_st_ACCESS_DESCRIPTION">stack_st_ACCESS_DESCRIPTION</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-DistPoint" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/x509/mod.rs.html#2228-2230">source</a><a href="#impl-Stackable-for-DistPoint" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../x509/struct.DistPoint.html" title="struct openssl::x509::DistPoint">DistPoint</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-6" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-6" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/x509v3/enum.stack_st_DIST_POINT.html" title="enum openssl_sys::openssl::handwritten::x509v3::stack_st_DIST_POINT">stack_st_DIST_POINT</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-GeneralName" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/x509/mod.rs.html#2185-2187">source</a><a href="#impl-Stackable-for-GeneralName" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../x509/struct.GeneralName.html" title="struct openssl::x509::GeneralName">GeneralName</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-7" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-7" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/x509v3/enum.stack_st_GENERAL_NAME.html" title="enum openssl_sys::openssl::x509v3::stack_st_GENERAL_NAME">stack_st_GENERAL_NAME</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-X509" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/x509/mod.rs.html#823-825">source</a><a href="#impl-Stackable-for-X509" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../x509/struct.X509.html" title="struct openssl::x509::X509">X509</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-8" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-8" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/x509/enum.stack_st_X509.html" title="enum openssl_sys::openssl::handwritten::x509::stack_st_X509">stack_st_X509</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-X509Extension" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/x509/mod.rs.html#878-880">source</a><a href="#impl-Stackable-for-X509Extension" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../x509/struct.X509Extension.html" title="struct openssl::x509::X509Extension">X509Extension</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-9" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-9" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/x509/enum.stack_st_X509_EXTENSION.html" title="enum openssl_sys::openssl::handwritten::x509::stack_st_X509_EXTENSION">stack_st_X509_EXTENSION</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-X509Name" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/x509/mod.rs.html#1213-1215">source</a><a href="#impl-Stackable-for-X509Name" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../x509/struct.X509Name.html" title="struct openssl::x509::X509Name">X509Name</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-10" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-10" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/x509/enum.stack_st_X509_NAME.html" title="enum openssl_sys::openssl::handwritten::x509::stack_st_X509_NAME">stack_st_X509_NAME</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-X509Object" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/x509/mod.rs.html#2298-2300">source</a><a href="#impl-Stackable-for-X509Object" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../x509/struct.X509Object.html" title="struct openssl::x509::X509Object">X509Object</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-11" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-11" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/x509/enum.stack_st_X509_OBJECT.html" title="enum openssl_sys::openssl::handwritten::x509::stack_st_X509_OBJECT">stack_st_X509_OBJECT</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Stackable-for-X509Revoked" class="impl has-srclink"><a class="srclink rightside" href="../../src/openssl/x509/mod.rs.html#1645-1647">source</a><a href="#impl-Stackable-for-X509Revoked" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Stackable.html" title="trait openssl::stack::Stackable">Stackable</a> for <a class="struct" href="../x509/struct.X509Revoked.html" title="struct openssl::x509::X509Revoked">X509Revoked</a></h3></section></summary><div class="impl-items"><section id="associatedtype.StackType-12" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.StackType-12" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.StackType" class="associatedtype">StackType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/x509/enum.stack_st_X509_REVOKED.html" title="enum openssl_sys::openssl::handwritten::x509::stack_st_X509_REVOKED">stack_st_X509_REVOKED</a></h4></section></div></details></div><script src="../../implementors/openssl/stack/trait.Stackable.js" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="openssl" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>