pub struct Blake2bResult { /* private fields */ }
Expand description
Container for a hash result.
This container uses a constant-time comparison for equality.
If a constant-time comparison is not necessary, the hash
result can be extracted with the as_bytes
method.
Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for Blake2bResult
impl AsRef<[u8]> for Blake2bResult
Source§impl Clone for Blake2bResult
impl Clone for Blake2bResult
Source§fn clone(&self) -> Blake2bResult
fn clone(&self) -> Blake2bResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Blake2bResult
impl Debug for Blake2bResult
Source§impl PartialEq<[u8]> for Blake2bResult
impl PartialEq<[u8]> for Blake2bResult
Source§impl PartialEq for Blake2bResult
impl PartialEq for Blake2bResult
impl Copy for Blake2bResult
impl Eq for Blake2bResult
Auto Trait Implementations§
impl Freeze for Blake2bResult
impl RefUnwindSafe for Blake2bResult
impl Send for Blake2bResult
impl Sync for Blake2bResult
impl Unpin for Blake2bResult
impl UnwindSafe for Blake2bResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)