pub struct OpticalImageOptions {
pub volume_id: String,
pub sector_size: usize,
pub iso: IsoOptions,
pub udf: UdfOptions,
pub boot: Option<BootOptions>,
pub hybrid_boot: Option<HybridBootOptions>,
}Expand description
Options for creating a hybrid ISO+UDF image
Fields§
§volume_id: StringVolume identifier (used by both ISO and UDF)
sector_size: usizeSector size (almost always 2048)
iso: IsoOptionsISO 9660 options
udf: UdfOptionsUDF options
boot: Option<BootOptions>El-Torito boot options
hybrid_boot: Option<HybridBootOptions>Hybrid boot options (MBR/GPT for USB booting)
Implementations§
Source§impl OpticalImageOptions
impl OpticalImageOptions
Sourcepub fn joliet(self, level: JolietLevel) -> Self
pub fn joliet(self, level: JolietLevel) -> Self
Set the Joliet level used for Windows-compatible long filenames.
Sourcepub fn rock_ridge(self, options: RripOptions) -> Self
pub fn rock_ridge(self, options: RripOptions) -> Self
Set Rock Ridge options.
Sourcepub fn boot(self, boot: BootOptions) -> Self
pub fn boot(self, boot: BootOptions) -> Self
Set boot options.
Sourcepub fn hybrid_boot(self, hybrid: HybridBootOptions) -> Self
pub fn hybrid_boot(self, hybrid: HybridBootOptions) -> Self
Set hybrid boot options for USB booting.
Trait Implementations§
Source§impl Clone for OpticalImageOptions
impl Clone for OpticalImageOptions
Source§fn clone(&self) -> OpticalImageOptions
fn clone(&self) -> OpticalImageOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpticalImageOptions
impl Debug for OpticalImageOptions
Auto Trait Implementations§
impl Freeze for OpticalImageOptions
impl RefUnwindSafe for OpticalImageOptions
impl Send for OpticalImageOptions
impl Sync for OpticalImageOptions
impl Unpin for OpticalImageOptions
impl UnsafeUnpin for OpticalImageOptions
impl UnwindSafe for OpticalImageOptions
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