pub enum XarChecksum {
None,
Sha1,
Md5,
Sha256,
Sha512,
Other(u32),
}
Expand description
Checksum format used in file.
Variants§
Trait Implementations§
Source§impl Display for XarChecksum
impl Display for XarChecksum
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 From<XarChecksum> for u32
impl From<XarChecksum> for u32
Source§fn from(checksum: XarChecksum) -> u32
fn from(checksum: XarChecksum) -> u32
Converts to this type from the input type.
Source§impl From<u32> for XarChecksum
impl From<u32> for XarChecksum
Source§impl TryFrom<XarChecksum> for ChecksumType
impl TryFrom<XarChecksum> for ChecksumType
Auto Trait Implementations§
impl Freeze for XarChecksum
impl RefUnwindSafe for XarChecksum
impl Send for XarChecksum
impl Sync for XarChecksum
impl Unpin for XarChecksum
impl UnwindSafe for XarChecksum
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