pub struct DfuFile {
pub file: File,
pub path: PathBuf,
pub content: Content,
pub suffix: Suffix,
}Expand description
File handle
Fields§
§file: FileReference to the file on the filesystem.
path: PathBufPath to the file.
content: ContentThe content representation.
suffix: SuffixThe file suffix with meta information.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DfuFile
impl RefUnwindSafe for DfuFile
impl Send for DfuFile
impl Sync for DfuFile
impl Unpin for DfuFile
impl UnwindSafe for DfuFile
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