pub enum ChecksumAlgo {
Invalid = 0,
HighwayHash = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ChecksumAlgo
impl Clone for ChecksumAlgo
Source§fn clone(&self) -> ChecksumAlgo
fn clone(&self) -> ChecksumAlgo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChecksumAlgo
impl Debug for ChecksumAlgo
Source§impl Default for ChecksumAlgo
impl Default for ChecksumAlgo
Source§fn default() -> ChecksumAlgo
fn default() -> ChecksumAlgo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChecksumAlgo
impl<'de> Deserialize<'de> for ChecksumAlgo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChecksumAlgo
impl PartialEq for ChecksumAlgo
Source§impl PartialOrd for ChecksumAlgo
impl PartialOrd for ChecksumAlgo
Source§impl Serialize for ChecksumAlgo
impl Serialize for ChecksumAlgo
impl Eq for ChecksumAlgo
impl StructuralPartialEq for ChecksumAlgo
Auto Trait Implementations§
impl Freeze for ChecksumAlgo
impl RefUnwindSafe for ChecksumAlgo
impl Send for ChecksumAlgo
impl Sync for ChecksumAlgo
impl Unpin for ChecksumAlgo
impl UnwindSafe for ChecksumAlgo
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