pub struct VerificationManager { /* private fields */ }Expand description
Manages verification operations for OTA updates
Implementations§
Source§impl VerificationManager
impl VerificationManager
pub fn new(app_binary_path: PathBuf) -> Self
Sourcepub fn verify_preconditions(&self, new_binary_path: &Path) -> Result<()>
pub fn verify_preconditions(&self, new_binary_path: &Path) -> Result<()>
Verify all preconditions before update
Sourcepub fn verify_library_dependencies(&self, bundle_dir: &Path) -> Result<()>
pub fn verify_library_dependencies(&self, bundle_dir: &Path) -> Result<()>
Verify library dependencies in bundle
Sourcepub fn verify_system_requirements(&self) -> Result<()>
pub fn verify_system_requirements(&self) -> Result<()>
Verify system requirements
Sourcepub fn verify_binary_executable(&self, binary_path: &Path) -> Result<()>
pub fn verify_binary_executable(&self, binary_path: &Path) -> Result<()>
Verify that a binary is executable
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VerificationManager
impl RefUnwindSafe for VerificationManager
impl Send for VerificationManager
impl Sync for VerificationManager
impl Unpin for VerificationManager
impl UnsafeUnpin for VerificationManager
impl UnwindSafe for VerificationManager
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