#[repr(u8)]pub enum XzCheckType {
None = 0,
Crc32 = 1,
Sha256 = 2,
Crc64 = 3,
}Variants§
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 moreimpl Copy for XzCheckType
Source§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 Display for XzCheckType
impl Display for XzCheckType
impl Eq for XzCheckType
Source§impl From<XzCheckType> for u8
impl From<XzCheckType> for u8
Source§fn from(value: XzCheckType) -> Self
fn from(value: XzCheckType) -> Self
Converts to this type from the input type.
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§impl PartialEq<u8> for XzCheckType
impl PartialEq<u8> for XzCheckType
Source§impl PartialOrd for XzCheckType
impl PartialOrd 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