pub enum XzCheckType {
None,
Crc32,
Crc64,
Sha256,
Unknown,
}Expand description
XZ integrity check labels.
Variants§
None
No integrity check.
Crc32
CRC32 integrity check.
Crc64
CRC64 integrity check.
Sha256
SHA-256 integrity check.
Unknown
Unknown or intentionally unspecified check type.
Implementations§
Trait Implementations§
Source§impl Clone for XzCheckType
impl Clone for XzCheckType
Source§fn clone(&self) -> XzCheckType
fn clone(&self) -> XzCheckType
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 moreSource§impl Debug for XzCheckType
impl Debug for XzCheckType
Source§impl Default for XzCheckType
impl Default for XzCheckType
Source§fn default() -> XzCheckType
fn default() -> XzCheckType
Returns the “default value” for a type. Read more
Source§impl Hash for XzCheckType
impl Hash for XzCheckType
Source§impl Ord for XzCheckType
impl Ord for XzCheckType
Source§fn cmp(&self, other: &XzCheckType) -> Ordering
fn cmp(&self, other: &XzCheckType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for XzCheckType
impl PartialEq for XzCheckType
Source§fn eq(&self, other: &XzCheckType) -> bool
fn eq(&self, other: &XzCheckType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for XzCheckType
impl PartialOrd for XzCheckType
impl Copy for XzCheckType
impl Eq for XzCheckType
impl StructuralPartialEq for XzCheckType
Auto Trait Implementations§
impl Freeze for XzCheckType
impl RefUnwindSafe for XzCheckType
impl Send for XzCheckType
impl Sync for XzCheckType
impl Unpin for XzCheckType
impl UnsafeUnpin for XzCheckType
impl UnwindSafe for XzCheckType
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