pub struct ManifestValidator { /* private fields */ }Expand description
Manifest validator for export integrity
Implementations§
Source§impl ManifestValidator
impl ManifestValidator
Sourcepub fn new(manifest: ExportManifest) -> Self
pub fn new(manifest: ExportManifest) -> Self
Create validator for manifest
Sourcepub fn validate(&self) -> NativeResult<()>
pub fn validate(&self) -> NativeResult<()>
Validate manifest format and consistency
Sourcepub fn validate_export_state(&self) -> NativeResult<()>
pub fn validate_export_state(&self) -> NativeResult<()>
Validate manifest matches expected export state
Sourcepub fn check_compatibility(&self) -> NativeResult<()>
pub fn check_compatibility(&self) -> NativeResult<()>
Check if manifest is compatible with target system
Auto Trait Implementations§
impl Freeze for ManifestValidator
impl RefUnwindSafe for ManifestValidator
impl Send for ManifestValidator
impl Sync for ManifestValidator
impl Unpin for ManifestValidator
impl UnwindSafe for ManifestValidator
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