pub enum HashType {
Sha256,
Sha256Json,
Sha256Binary,
}Expand description
Hash types used in Accumulate protocol
Variants§
Sha256
SHA-256 hash of raw bytes
Sha256Json
SHA-256 hash of canonical JSON
Sha256Binary
SHA-256 hash of binary-encoded data
Trait Implementations§
impl Copy for HashType
impl Eq for HashType
impl StructuralPartialEq for HashType
Auto Trait Implementations§
impl Freeze for HashType
impl RefUnwindSafe for HashType
impl Send for HashType
impl Sync for HashType
impl Unpin for HashType
impl UnsafeUnpin for HashType
impl UnwindSafe for HashType
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