Trait openssl::stack::Stackable [−][src]
pub trait Stackable: ForeignType { type StackType; }
Trait implemented by types which can be placed in a stack.
It should not be implemented for any type outside of this crate.
Associated Types
type StackType
The C stack type for this element.
Generally called stack_st_{ELEMENT_TYPE}
, normally hidden by the
STACK_OF(ELEMENT_TYPE)
macro in the OpenSSL API.
Implementors
impl Stackable for OpensslString type StackType = stack_st_OPENSSL_STRING;
impl Stackable for X509 type StackType = stack_st_X509;
impl Stackable for X509Extension type StackType = stack_st_X509_EXTENSION;
impl Stackable for X509Name type StackType = stack_st_X509_NAME;
impl Stackable for GeneralName type StackType = stack_st_GENERAL_NAME;