pub struct HashBase<H>(/* private fields */);Expand description
Represents a generic 256-bit hash value.
Implementations§
Trait Implementations§
Source§impl<'de, H> Deserialize<'de> for HashBase<H>
impl<'de, H> Deserialize<'de> for HashBase<H>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<H> Ord for HashBase<H>
impl<H> Ord for HashBase<H>
Source§impl<H> PartialOrd for HashBase<H>
impl<H> PartialOrd for HashBase<H>
impl<H> Copy for HashBase<H>
impl<H> Eq for HashBase<H>
Auto Trait Implementations§
impl<H> Freeze for HashBase<H>
impl<H> RefUnwindSafe for HashBase<H>where
H: RefUnwindSafe,
impl<H> Send for HashBase<H>where
H: Send,
impl<H> Sync for HashBase<H>where
H: Sync,
impl<H> Unpin for HashBase<H>where
H: Unpin,
impl<H> UnwindSafe for HashBase<H>where
H: UnwindSafe,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> ToHex for Twhere
T: BytesRepresentable,
impl<T> ToHex for Twhere
T: BytesRepresentable,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)