pub enum ChecksumType {
None,
Sha1,
Sha256,
Sha512,
Md5,
}
Variants§
Implementations§
Source§impl ChecksumType
impl ChecksumType
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<'de> Deserialize<'de> for ChecksumType
impl<'de> Deserialize<'de> for ChecksumType
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 Display for ChecksumType
impl Display for ChecksumType
Source§impl From<ChecksumType> for XarChecksum
impl From<ChecksumType> for XarChecksum
Source§fn from(v: ChecksumType) -> Self
fn from(v: ChecksumType) -> Self
Converts to this type from the input type.
Source§impl TryFrom<XarChecksum> for ChecksumType
impl TryFrom<XarChecksum> for ChecksumType
impl Copy 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