Struct cyfs_base::KeyMixHash
source · pub struct KeyMixHash(_);
Trait Implementations
sourceimpl AsMut<GenericArray<u8, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>> for KeyMixHash
impl AsMut<GenericArray<u8, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>> for KeyMixHash
sourcefn as_mut(&mut self) -> &mut GenericArray<u8, U8>
fn as_mut(&mut self) -> &mut GenericArray<u8, U8>
Converts this type into a mutable reference of the (usually inferred) input type.
sourceimpl AsRef<GenericArray<u8, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>> for KeyMixHash
impl AsRef<GenericArray<u8, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>> for KeyMixHash
sourcefn as_ref(&self) -> &GenericArray<u8, U8>
fn as_ref(&self) -> &GenericArray<u8, U8>
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for KeyMixHash
impl Clone for KeyMixHash
sourcefn clone(&self) -> KeyMixHash
fn clone(&self) -> KeyMixHash
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 moresourceimpl Debug for KeyMixHash
impl Debug for KeyMixHash
sourceimpl Display for KeyMixHash
impl Display for KeyMixHash
sourceimpl Hash for KeyMixHash
impl Hash for KeyMixHash
sourceimpl Ord for KeyMixHash
impl Ord for KeyMixHash
sourcefn cmp(&self, other: &KeyMixHash) -> Ordering
fn cmp(&self, other: &KeyMixHash) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<KeyMixHash> for KeyMixHash
impl PartialEq<KeyMixHash> for KeyMixHash
sourcefn eq(&self, other: &KeyMixHash) -> bool
fn eq(&self, other: &KeyMixHash) -> bool
sourceimpl PartialOrd<KeyMixHash> for KeyMixHash
impl PartialOrd<KeyMixHash> for KeyMixHash
sourcefn partial_cmp(&self, other: &KeyMixHash) -> Option<Ordering>
fn partial_cmp(&self, other: &KeyMixHash) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl<'de> RawDecode<'de> for KeyMixHash
impl<'de> RawDecode<'de> for KeyMixHash
fn raw_decode(buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> BuckyResult<(Self, &'de [u8])>
sourceimpl RawEncode for KeyMixHash
impl RawEncode for KeyMixHash
fn raw_measure(&self, _purpose: &Option<RawEncodePurpose>) -> BuckyResult<usize>
fn raw_encode<'a>(
&self,
buf: &'a mut [u8],
_purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a mut [u8]>
fn raw_tail_encode<'a>(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a [u8]>
fn raw_encode_to_buffer(&self) -> BuckyResult<Vec<u8>>
fn raw_hash_value(&self) -> BuckyResult<HashValue>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> BuckyResult<Vec<u8>>
sourceimpl RawFixedBytes for KeyMixHash
impl RawFixedBytes for KeyMixHash
impl Eq for KeyMixHash
impl StructuralEq for KeyMixHash
impl StructuralPartialEq for KeyMixHash
Auto Trait Implementations
impl RefUnwindSafe for KeyMixHash
impl Send for KeyMixHash
impl Sync for KeyMixHash
impl Unpin for KeyMixHash
impl UnwindSafe for KeyMixHash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more