pub struct PersistenceConfig<'a> {
pub iso_url: &'a str,
pub disk_start_sector: u64,
pub sector_size: u32,
pub expected_size: u64,
pub verify_checksum: bool,
pub expected_checksum: Option<[u8; 32]>,
}Expand description
Persistence orchestrator configuration.
Fields§
§iso_url: &'a strURL of the ISO to download.
disk_start_sector: u64Starting sector on disk for ISO data.
sector_size: u32Sector size (default 512).
expected_size: u64Expected ISO size (0 = unknown, will use Content-Length).
verify_checksum: boolWhether to verify checksum (future feature).
expected_checksum: Option<[u8; 32]>Optional SHA256 checksum to verify.
Trait Implementations§
Source§impl<'a> Clone for PersistenceConfig<'a>
impl<'a> Clone for PersistenceConfig<'a>
Source§fn clone(&self) -> PersistenceConfig<'a>
fn clone(&self) -> PersistenceConfig<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for PersistenceConfig<'a>
impl<'a> RefUnwindSafe for PersistenceConfig<'a>
impl<'a> Send for PersistenceConfig<'a>
impl<'a> Sync for PersistenceConfig<'a>
impl<'a> Unpin for PersistenceConfig<'a>
impl<'a> UnwindSafe for PersistenceConfig<'a>
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