[−][src]Struct librapidarchive::tar::recovery::RecoveryEntry
Information on how to recover from a failed serialization.
Fields
original_path: Box<PathBuf>
The path of the file as would have been entered by the user, suitable for display in error messages and the like.
canonical_path: Box<PathBuf>
A valid, canonicalized path which can be used to open and read data for archival.
header_length: u64
Indicates how much of the zone is the tar header and how much is file data
Methods
impl RecoveryEntry
[src]
pub fn new_from_headergen(
hg: &HeaderGenResult,
header_length: u64
) -> RecoveryEntry
[src]
hg: &HeaderGenResult,
header_length: u64
) -> RecoveryEntry
pub fn new<P: AsRef<Path>, Q: AsRef<Path>>(
original_path: &P,
canonical_path: &Q,
header_length: u64
) -> RecoveryEntry
[src]
original_path: &P,
canonical_path: &Q,
header_length: u64
) -> RecoveryEntry
pub fn is_same_file(&self, other: &Self) -> bool
[src]
Trait Implementations
impl PartialEq<RecoveryEntry> for RecoveryEntry
[src]
fn eq(&self, other: &RecoveryEntry) -> bool
[src]
fn ne(&self, other: &RecoveryEntry) -> bool
[src]
impl Clone for RecoveryEntry
[src]
fn clone(&self) -> RecoveryEntry
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for RecoveryEntry
impl Sync for RecoveryEntry
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,