#[non_exhaustive]#[repr(i32)]pub enum CrcValidation {
Ignore = 0,
Check = 1,
Compute = 2,
}Expand description
CRC handling mode used when loading binary sections.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ignore = 0
Do not validate CRC values.
Check = 1
Validate existing CRC values.
Compute = 2
Compute missing CRC values.
Trait Implementations§
Source§impl Clone for CrcValidation
impl Clone for CrcValidation
Source§fn clone(&self) -> CrcValidation
fn clone(&self) -> CrcValidation
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 CrcValidation
Source§impl Debug for CrcValidation
impl Debug for CrcValidation
impl Eq for CrcValidation
Source§impl PartialEq for CrcValidation
impl PartialEq for CrcValidation
impl StructuralPartialEq for CrcValidation
Auto Trait Implementations§
impl Freeze for CrcValidation
impl RefUnwindSafe for CrcValidation
impl Send for CrcValidation
impl Sync for CrcValidation
impl Unpin for CrcValidation
impl UnsafeUnpin for CrcValidation
impl UnwindSafe for CrcValidation
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