Struct conserve::Archive [] [src]

pub struct Archive { /* fields omitted */ }

An archive holding backup material.

Methods

impl Archive
[src]

[src]

Make a new directory to hold an archive, and write the header.

[src]

Open an existing archive.

Checks that the header is correct.

[src]

Returns a iterator of ids for bands currently present, in arbitrary order.

[src]

Returns a vector of band ids, in sorted order from first to last.

[src]

Returns the top-level directory for the archive.

The top-level directory contains a CONSERVE header file, and zero or more band directories.

[src]

Return the BandId of the highest-numbered band, or ArchiveEmpty, or an Err if any occurred reading the directory.

[src]

Return the last completely-written band id.

[src]

Return the Report that counts operations on this Archive and objects descended from it.

Trait Implementations

impl Clone for Archive
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Archive
[src]

[src]

Formats the value using the given formatter.