struct Item {
data: Vec<u8>,
dst: PathBuf,
mode: u32,
keep_existing: bool,
}Expand description
One file to write: its contents, read up front, its final path and its mode.
Fields§
§data: Vec<u8>§dst: PathBuf§mode: u32§keep_existing: boolOn a live system the file is the administrator’s once it exists and is left alone. Under DESTDIR it is the package’s file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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