pub enum IntegrityCheckResult {
Ok,
EmptyModule,
DuplicateNames(Vec<Name>),
BadMagicNumber,
UnsupportedVersion(u32),
}Expand description
Result of a module integrity check.
Variants§
Ok
All checks passed.
EmptyModule
The module is empty.
DuplicateNames(Vec<Name>)
The module has duplicate declaration names.
BadMagicNumber
The magic number in the binary header is wrong.
UnsupportedVersion(u32)
The version is unsupported.
Trait Implementations§
Source§impl Clone for IntegrityCheckResult
impl Clone for IntegrityCheckResult
Source§fn clone(&self) -> IntegrityCheckResult
fn clone(&self) -> IntegrityCheckResult
Returns a duplicate 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 IntegrityCheckResult
impl Debug for IntegrityCheckResult
Source§impl PartialEq for IntegrityCheckResult
impl PartialEq for IntegrityCheckResult
impl Eq for IntegrityCheckResult
impl StructuralPartialEq for IntegrityCheckResult
Auto Trait Implementations§
impl Freeze for IntegrityCheckResult
impl RefUnwindSafe for IntegrityCheckResult
impl Send for IntegrityCheckResult
impl Sync for IntegrityCheckResult
impl Unpin for IntegrityCheckResult
impl UnsafeUnpin for IntegrityCheckResult
impl UnwindSafe for IntegrityCheckResult
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