aws_lc_rs::ptr

Trait Pointer

Source
pub(crate) trait Pointer {
    type T;

    // Required methods
    fn free(&mut self);
    fn as_const_ptr(&self) -> *const Self::T;
    fn as_mut_ptr(&mut self) -> *mut Self::T;
}

Required Associated Types§

Source

type T

Required Methods§

Source

fn free(&mut self)

Source

fn as_const_ptr(&self) -> *const Self::T

Source

fn as_mut_ptr(&mut self) -> *mut Self::T

Implementations on Foreign Types§

Source§

impl Pointer for *mut u8

Source§

type T = u8

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut BIGNUM

Source§

type T = bignum_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut ECDSA_SIG

Source§

type T = ecdsa_sig_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut EC_GROUP

Source§

type T = ec_group_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut EC_KEY

Source§

type T = ec_key_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut EC_POINT

Source§

type T = ec_point_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut EVP_AEAD_CTX

Source§

type T = evp_aead_ctx_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut EVP_CIPHER_CTX

Source§

type T = evp_cipher_ctx_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut EVP_PKEY

Source§

type T = evp_pkey_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut EVP_PKEY_CTX

Source§

type T = evp_pkey_ctx_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Source§

impl Pointer for *mut RSA

Source§

type T = rsa_st

Source§

fn free(&mut self)

Source§

fn as_const_ptr(&self) -> *const Self::T

Source§

fn as_mut_ptr(&mut self) -> *mut Self::T

Implementors§