Struct blake2_rfc::blake2s::Blake2sResult
source · [−]pub struct Blake2sResult { /* 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
sourceimpl Blake2sResult
impl Blake2sResult
Trait Implementations
sourceimpl Clone for Blake2sResult
impl Clone for Blake2sResult
sourcefn clone(&self) -> Blake2sResult
fn clone(&self) -> Blake2sResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Blake2sResult
impl Debug for Blake2sResult
sourceimpl PartialEq<Blake2sResult> for Blake2sResult
impl PartialEq<Blake2sResult> for Blake2sResult
impl Copy for Blake2sResult
impl Eq for Blake2sResult
Auto Trait Implementations
impl RefUnwindSafe for Blake2sResult
impl Send for Blake2sResult
impl Sync for Blake2sResult
impl Unpin for Blake2sResult
impl UnwindSafe for Blake2sResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more