Struct diem_sdk::crypto::test_utils::TestDiemCryptoHasher [−][src]
pub struct TestDiemCryptoHasher(_);Expand description
Cryptographic hasher for an BCS-serializable #item
Trait Implementations
pub fn clone(&self) -> TestDiemCryptoHasherⓘNotable traits for TestDiemCryptoHasherimpl Write for TestDiemCryptoHasher
pub fn clone(&self) -> TestDiemCryptoHasherⓘNotable traits for TestDiemCryptoHasherimpl Write for TestDiemCryptoHasher
impl Write for TestDiemCryptoHasherReturns a copy of the value. Read more
Performs copy-assignment from source. Read more
the seed used to initialize hashing Self before the serialization bytes of the actual value
pub fn default() -> TestDiemCryptoHasherⓘNotable traits for TestDiemCryptoHasherimpl Write for TestDiemCryptoHasher
pub fn default() -> TestDiemCryptoHasherⓘNotable traits for TestDiemCryptoHasherimpl Write for TestDiemCryptoHasher
impl Write for TestDiemCryptoHasherReturns the “default value” for a type. Read more
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
can_vector)Determines if this Writer has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
Auto Trait Implementations
impl RefUnwindSafe for TestDiemCryptoHasher
impl Send for TestDiemCryptoHasher
impl Sync for TestDiemCryptoHasher
impl Unpin for TestDiemCryptoHasher
impl UnwindSafe for TestDiemCryptoHasher
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Writes an unsigned 8 bit integer to the underlying writer. Read more
Writes a signed 8 bit integer to the underlying writer. Read more
Writes an unsigned 16 bit integer to the underlying writer. Read more
Writes a signed 16 bit integer to the underlying writer. Read more
Writes an unsigned 24 bit integer to the underlying writer. Read more
Writes a signed 24 bit integer to the underlying writer. Read more
Writes an unsigned 32 bit integer to the underlying writer. Read more
Writes a signed 32 bit integer to the underlying writer. Read more
Writes an unsigned 48 bit integer to the underlying writer. Read more
Writes a signed 48 bit integer to the underlying writer. Read more
Writes an unsigned 64 bit integer to the underlying writer. Read more
Writes a signed 64 bit integer to the underlying writer. Read more
fn write_u128<T>(&mut self, n: u128) -> Result<(), Error> where
T: ByteOrder,
fn write_u128<T>(&mut self, n: u128) -> Result<(), Error> where
T: ByteOrder,
Writes an unsigned 128 bit integer to the underlying writer.
fn write_i128<T>(&mut self, n: i128) -> Result<(), Error> where
T: ByteOrder,
fn write_i128<T>(&mut self, n: i128) -> Result<(), Error> where
T: ByteOrder,
Writes a signed 128 bit integer to the underlying writer.
Writes an unsigned n-bytes integer to the underlying writer. Read more
Writes a signed n-bytes integer to the underlying writer. Read more
Writes an unsigned n-bytes integer to the underlying writer. Read more
Writes a signed n-bytes integer to the underlying writer. Read more
Writes a IEEE754 single-precision (4 bytes) floating point number to the underlying writer. Read more