pub(crate) struct DigestContext(EVP_MD_CTX);
Tuple Fields§
§0: EVP_MD_CTX
Implementations§
Source§impl DigestContext
impl DigestContext
pub fn new(algorithm: &'static Algorithm) -> Result<DigestContext, Unspecified>
pub fn new_uninit() -> DigestContext
pub(crate) fn as_mut_ptr(&mut self) -> *mut EVP_MD_CTX
pub(crate) fn as_ptr(&self) -> *const EVP_MD_CTX
Trait Implementations§
Source§impl Clone for DigestContext
impl Clone for DigestContext
Source§impl Drop for DigestContext
impl Drop for DigestContext
impl Send for DigestContext
impl Sync for DigestContext
Auto Trait Implementations§
impl Freeze for DigestContext
impl RefUnwindSafe for DigestContext
impl Unpin for DigestContext
impl UnwindSafe for DigestContext
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