#[repr(u16)]pub enum ChecksumType {
CRC32C = 0,
XXHASH64 = 1,
SHA256 = 2,
BLAKE2b = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for ChecksumType
impl Clone for ChecksumType
Source§fn clone(&self) -> ChecksumType
fn clone(&self) -> ChecksumType
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 ChecksumType
impl Debug for ChecksumType
Source§impl From<ChecksumType> for u16
impl From<ChecksumType> for u16
Source§fn from(enum_value: ChecksumType) -> Self
fn from(enum_value: ChecksumType) -> Self
Converts to this type from the input type.
Source§impl Hash for ChecksumType
impl Hash for ChecksumType
Source§impl IntoEnumIterator for ChecksumType
impl IntoEnumIterator for ChecksumType
type Iterator = ChecksumTypeIter
fn iter() -> ChecksumTypeIter ⓘ
Source§impl PartialEq for ChecksumType
impl PartialEq for ChecksumType
Source§impl TryFrom<u16> for ChecksumType
impl TryFrom<u16> for ChecksumType
Source§type Error = TryFromPrimitiveError<ChecksumType>
type Error = TryFromPrimitiveError<ChecksumType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ChecksumType
impl TryFromPrimitive for ChecksumType
impl Copy for ChecksumType
impl StructuralPartialEq for ChecksumType
Auto Trait Implementations§
impl Freeze for ChecksumType
impl RefUnwindSafe for ChecksumType
impl Send for ChecksumType
impl Sync for ChecksumType
impl Unpin for ChecksumType
impl UnwindSafe for ChecksumType
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