pub struct TransferPlan { /* private fields */ }Expand description
Immutable encoding, entry sequence, host policy and receiver binding for one Flash or Recovery operation.
Implementations§
Source§impl TransferPlan
impl TransferPlan
Sourcepub fn encoding(&self) -> TransferEncoding
pub fn encoding(&self) -> TransferEncoding
Actual header and body formats; an AES header does not imply an AES body.
Sourcepub fn programmed_ranges(&self) -> Option<&[Range<usize>]>
pub fn programmed_ranges(&self) -> Option<&[Range<usize>]>
Programmed image spans when the receiver’s complete programming-loop
signature establishes them. None means no complete span inventory,
not that every image byte will be written.
Sourcepub fn preserved_ranges(&self) -> Option<Vec<Range<usize>>>
pub fn preserved_ranges(&self) -> Option<Vec<Range<usize>>>
Regions explicitly preserved by a known programming-loop contract. These retain installed bytes and are not claimed to match the target.
Sourcepub fn prepare_command(&self) -> Prepare
pub fn prepare_command(&self) -> Prepare
Receiver-derived PREPARE dialect, fixed at preparation.
Sourcepub fn class(&self) -> DriveClass
pub fn class(&self) -> DriveClass
Controller dialect retained by the validated update.
Trait Implementations§
Source§impl Clone for TransferPlan
impl Clone for TransferPlan
Auto Trait Implementations§
impl Freeze for TransferPlan
impl RefUnwindSafe for TransferPlan
impl Send for TransferPlan
impl Sync for TransferPlan
impl Unpin for TransferPlan
impl UnsafeUnpin for TransferPlan
impl UnwindSafe for TransferPlan
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