#[repr(u32)]pub enum AeaChecksumMode {
None = 0,
MurmurHash64 = 1,
Sha256 = 2,
}Expand description
Wraps AEA checksum mode identifiers.
Variants§
None = 0
Wraps the None variant of AeaChecksumMode.
MurmurHash64 = 1
Wraps the MurmurHash64 variant of AeaChecksumMode.
Sha256 = 2
Wraps the Sha256 variant of AeaChecksumMode.
Trait Implementations§
Source§impl Clone for AeaChecksumMode
impl Clone for AeaChecksumMode
Source§fn clone(&self) -> AeaChecksumMode
fn clone(&self) -> AeaChecksumMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AeaChecksumMode
Source§impl Debug for AeaChecksumMode
impl Debug for AeaChecksumMode
impl Eq for AeaChecksumMode
Source§impl Hash for AeaChecksumMode
impl Hash for AeaChecksumMode
Source§impl PartialEq for AeaChecksumMode
impl PartialEq for AeaChecksumMode
Source§fn eq(&self, other: &AeaChecksumMode) -> bool
fn eq(&self, other: &AeaChecksumMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AeaChecksumMode
Auto Trait Implementations§
impl Freeze for AeaChecksumMode
impl RefUnwindSafe for AeaChecksumMode
impl Send for AeaChecksumMode
impl Sync for AeaChecksumMode
impl Unpin for AeaChecksumMode
impl UnsafeUnpin for AeaChecksumMode
impl UnwindSafe for AeaChecksumMode
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