Trait coins_core::hashes::MarkedDigestOutput
source · [−]pub trait MarkedDigestOutput: Default + Copy + AsRef<[u8]> + AsMut<[u8]> + ByteFormat<Error = SerError> {
fn size(&self) -> usize;
fn reversed(&self) -> Self { ... }
fn from_be_hex(be: &str) -> SerResult<Self> { ... }
fn to_be_hex(&self) -> String { ... }
fn as_mut_slice(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
{ ... }
fn as_slice(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
{ ... }
}
Expand description
Convenience interface for hash function outputs, particularly marked digest outputs
Required Methods
Provided Methods
fn from_be_hex(be: &str) -> SerResult<Self>
fn from_be_hex(be: &str) -> SerResult<Self>
Deserialize to BE hex
Use as a mutable slice