pub struct Restored {
pub archive: PathBuf,
pub format: &'static str,
pub entries: usize,
pub output: PathBuf,
pub kept: bool,
pub set_aside: usize,
}Fields§
§archive: PathBufThe first volume of the restored archive.
format: &'static str§entries: usizeEntries the restored archive holds: the ones not yet extracted.
output: PathBufWhere the extracted entries stay.
kept: boolThe extraction kept the archive, so it was never changed and only the progress was discarded. The archive still holds every entry.
set_aside: usizeFiles the extraction replaced that stay in the replaced files folder
(see crate::replace): the file extracted at their path is no
longer in the archive, so it was not removed to make room.
Auto Trait Implementations§
impl Forget for Restored
impl Freeze for Restored
impl RefUnwindSafe for Restored
impl Send for Restored
impl Sync for Restored
impl Unpin for Restored
impl UnsafeUnpin for Restored
impl UnwindSafe for Restored
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more