MCPcopy Create free account
hub / github.com/cloudflare/boring / Stackable

Interface Stackable

boring/src/stack.rs:24–30  ·  view source on GitHub ↗

Trait implemented by types which can be placed in a stack. It should not be implemented for any type outside of this crate.

Source from the content-addressed store, hash-verified

22///
23/// It should not be implemented for any type outside of this crate.
24pub trait Stackable: ForeignType {
25 /// The C stack type for this element.
26 ///
27 /// Generally called `stack_st_{ELEMENT_TYPE}`, normally hidden by the
28 /// `STACK_OF(ELEMENT_TYPE)` macro in the OpenSSL API.
29 type StackType;
30}
31
32/// An owned stack of `T`.
33pub struct Stack<T: Stackable>(*mut T::StackType);

Callers

nothing calls this directly

Implementers 5

string.rsboring/src/string.rs
asn1.rsboring/src/asn1.rs
srtp.rsboring/src/srtp.rs
mod.rsboring/src/ssl/mod.rs
mod.rsboring/src/x509/mod.rs

Calls

no outgoing calls

Tested by

no test coverage detected