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.
Source§impl ToOwned for MacCtxRef
impl ToOwned for MacCtxRef
impl Send for MacCtxRef
impl Sync for MacCtxRef
Auto Trait Implementations§
impl !Freeze for MacCtxRef
impl !RefUnwindSafe for MacCtxRef
impl Unpin for MacCtxRef
impl UnwindSafe for MacCtxRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more