pub enum ModifyOp {
AppendFile {
path: String,
data: FileData,
},
CreateDir {
path: String,
},
Delete {
path: String,
},
Replace {
path: String,
data: FileData,
},
}Available on crate features
sync and write only.Expand description
Operations that can be performed on an ISO image.
Variants§
AppendFile
Add a new file to the image.
CreateDir
Create a new directory.
Delete
Mark a file as deleted (hidden from new session).
Replace
Replace a file’s content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModifyOp
impl RefUnwindSafe for ModifyOp
impl Send for ModifyOp
impl Sync for ModifyOp
impl Unpin for ModifyOp
impl UnsafeUnpin for ModifyOp
impl UnwindSafe for ModifyOp
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