pub struct CdOptions {
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 CdOptions
impl CdOptions
Sourcepub fn with_volume_id(volume_id: impl Into<String>) -> Self
pub fn with_volume_id(volume_id: impl Into<String>) -> Self
Create options with a volume ID
Sourcepub fn with_joliet(self) -> Self
pub fn with_joliet(self) -> Self
Enable Joliet support (Windows long filenames)
Sourcepub fn with_rock_ridge(self) -> Self
pub fn with_rock_ridge(self) -> Self
Enable Rock Ridge support (POSIX filenames and permissions)
Sourcepub fn with_boot(self, boot: BootOptions) -> Self
pub fn with_boot(self, boot: BootOptions) -> Self
Set boot options
Sourcepub fn with_hybrid_boot(self, hybrid: HybridBootOptions) -> Self
pub fn with_hybrid_boot(self, hybrid: HybridBootOptions) -> Self
Set hybrid boot options (for USB booting)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CdOptions
impl RefUnwindSafe for CdOptions
impl Send for CdOptions
impl Sync for CdOptions
impl Unpin for CdOptions
impl UnsafeUnpin for CdOptions
impl UnwindSafe for CdOptions
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