[−]Struct nimiq_hash::Sha256Hash
Methods
impl Sha256Hash
impl Sha256Hash
Trait Implementations
impl HashOutput for Sha256Hash
[src]
impl<'a> From<&'a [u8]> for Sha256Hash
impl From<[u8; 32]> for Sha256Hash
impl From<Sha256Hash> for [u8; 32]
fn from(i: Sha256Hash) -> [u8; 32]
impl From<&'static str> for Sha256Hash
impl Clone for Sha256Hash
fn clone(&self) -> Sha256Hash
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for Sha256Hash
fn default() -> Sha256Hash
impl Eq for Sha256Hash
impl Ord for Sha256Hash
fn cmp(&self, other: &Sha256Hash) -> Ordering
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Sha256Hash> for Sha256Hash
fn eq(&self, other: &Sha256Hash) -> bool
fn ne(&self, other: &Sha256Hash) -> bool
impl PartialOrd<Sha256Hash> for Sha256Hash
fn partial_cmp(&self, other: &Sha256Hash) -> Option<Ordering>
fn lt(&self, other: &Sha256Hash) -> bool
fn le(&self, other: &Sha256Hash) -> bool
fn gt(&self, other: &Sha256Hash) -> bool
fn ge(&self, other: &Sha256Hash) -> bool
impl Display for Sha256Hash
impl Debug for Sha256Hash
impl FromStr for Sha256Hash
type Err = FromHexError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
impl Hash for Sha256Hash
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for Sha256Hash
impl StructuralEq for Sha256Hash
impl Deserialize for Sha256Hash
fn deserialize<R: ReadBytesExt>(
reader: &mut R
) -> Result<Self, SerializingError>
reader: &mut R
) -> Result<Self, SerializingError>
fn deserialize_from_vec(v: &Vec<u8>) -> Result<Self, SerializingError>
[src]
impl Serialize for Sha256Hash
fn serialize<W: WriteBytesExt>(
&self,
writer: &mut W
) -> Result<usize, SerializingError>
&self,
writer: &mut W
) -> Result<usize, SerializingError>
fn serialized_size(&self) -> usize
fn serialize_to_vec(&self) -> Vec<u8>
[src]
Auto Trait Implementations
impl Send for Sha256Hash
impl Sync for Sha256Hash
impl Unpin for Sha256Hash
impl UnwindSafe for Sha256Hash
impl RefUnwindSafe for Sha256Hash
Blanket Implementations
impl<H> SerializeContent for H where
H: HashOutput,
[src]
H: HashOutput,
impl<H> Hash for H where
H: HashOutput,
[src]
H: HashOutput,
fn hash<H: HashOutput>(&self) -> H
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self