pub struct PreparedUpdate { /* private fields */ }Expand description
An update prepared for the receiver that will accept its bytes. The transfer format cannot be overridden by a caller.
Implementations§
Source§impl PreparedUpdate
impl PreparedUpdate
Sourcepub fn plan(&self) -> &TransferPlan
pub fn plan(&self) -> &TransferPlan
Inspect the immutable execution plan.
Sourcepub fn flash<R, W, H>(
&self,
io: FlashTransport<'_, R, W>,
runtime: &mut H,
) -> Result<Verified, ExecuteError<W::Error>>
pub fn flash<R, W, H>( &self, io: FlashTransport<'_, R, W>, runtime: &mut H, ) -> Result<Verified, ExecuteError<W::Error>>
Revalidate the bound receiver before entering the shared Flash engine.
Sourcepub fn flash_completed<R, W, H>(
&self,
io: FlashTransport<'_, R, W>,
runtime: &mut H,
) -> Result<Completion, ExecuteError<W::Error>>
pub fn flash_completed<R, W, H>( &self, io: FlashTransport<'_, R, W>, runtime: &mut H, ) -> Result<Completion, ExecuteError<W::Error>>
Revalidate, execute, and confirm exact target startup. An unreadable protected region is retained as limited verification, never full success.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedUpdate
impl RefUnwindSafe for PreparedUpdate
impl Send for PreparedUpdate
impl Sync for PreparedUpdate
impl Unpin for PreparedUpdate
impl UnsafeUnpin for PreparedUpdate
impl UnwindSafe for PreparedUpdate
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