pub struct DonorBootBlocks {
pub blocks: Box<[u8; 1024]>,
pub offset: u64,
}Expand description
A donor’s boot-block region plus where it was read from, for confirmation messages.
Fields§
§blocks: Box<[u8; 1024]>The validated 1024-byte boot-block region, ready to stage / write.
offset: u64Byte offset within the donor image the region was read from (0 for a flat HFS superfloppy, the Apple_HFS partition start for an APM disk).
Trait Implementations§
Source§impl Clone for DonorBootBlocks
impl Clone for DonorBootBlocks
Auto Trait Implementations§
impl Freeze for DonorBootBlocks
impl RefUnwindSafe for DonorBootBlocks
impl Send for DonorBootBlocks
impl Sync for DonorBootBlocks
impl Unpin for DonorBootBlocks
impl UnsafeUnpin for DonorBootBlocks
impl UnwindSafe for DonorBootBlocks
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