pub struct WrittenFile {
pub name: Arc<String>,
pub entry: DirectoryRef,
pub kind: InputEntryKind,
pub metadata: InputMetadata,
}Available on crate features
sync and write only.Expand description
A file that has been written to the ISO image.
Contains the file’s name, first extent, contents, and metadata.
Fields§
§name: Arc<String>Original filename.
entry: DirectoryRefFirst extent (location and size) of the file data.
For most files, this is the only extent. For multi-extent files (>4 GiB), this is the first chunk.
kind: InputEntryKindFile contents or directory children.
metadata: InputMetadataFile metadata (timestamps, permissions, etc.).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WrittenFile
impl !UnwindSafe for WrittenFile
impl Freeze for WrittenFile
impl Send for WrittenFile
impl Sync for WrittenFile
impl Unpin for WrittenFile
impl UnsafeUnpin for WrittenFile
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