pub struct MacCtxRef(/* private fields */);Expand description
A reference to a [HmacCtx].
Trait Implementations§
Source§impl ForeignTypeRef for MacCtxRef
impl ForeignTypeRef for MacCtxRef
Source§type CType = EVP_MAC_CTX
type CType = EVP_MAC_CTX
The raw C type.
Source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
Source§unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.