pub struct LiveTree { /* private fields */ }
Expand description
A real tree on the filesystem, for use as a backup source or restore destination.
Return a new LiveTree which when listed will ignore certain files.
This replaces any previous exclusions.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Iterate source files descending through a source directory.
Visit the files in a directory before descending into its children, as
is the defined order for files stored in an archive. Within those files and
child directories, visit them according to a sorted comparison by their UTF-8
name.
The Iter
has its own Report
of how many directories and files were visited.
Estimate the number of entries in the tree.
This might do somewhat expensive IO, so isn’t the Iter’s
size_hint
.
Read more
Measure the tree size: typically requires walking all entries so
takes a while.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.