#[repr(u32)]pub enum HashReturn {
KECCAK_SUCCESS = 0,
KECCAK_FAIL = 1,
KECCAK_BAD_HASHLEN = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for HashReturn
impl Clone for HashReturn
Source§fn clone(&self) -> HashReturn
fn clone(&self) -> HashReturn
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HashReturn
impl Debug for HashReturn
Source§impl Hash for HashReturn
impl Hash for HashReturn
Source§impl PartialEq for HashReturn
impl PartialEq for HashReturn
impl Eq for HashReturn
impl StructuralPartialEq for HashReturn
Auto Trait Implementations§
impl Freeze for HashReturn
impl RefUnwindSafe for HashReturn
impl Send for HashReturn
impl Sync for HashReturn
impl Unpin for HashReturn
impl UnwindSafe for HashReturn
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes
Size for each variant:
KECCAK_SUCCESS
: 0 bytesKECCAK_FAIL
: 0 bytesKECCAK_BAD_HASHLEN
: 0 bytes