Struct conserve::test_fixtures::ScratchArchive [] [src]

pub struct ScratchArchive { /* fields omitted */ }

A temporary archive, deleted when it goes out of scope.

The ScratchArchive can be treated as an Archive.

Methods

impl ScratchArchive
[src]

Methods from Deref<Target = Archive>

[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 Deref for ScratchArchive
[src]

The resulting type after dereferencing.

[src]

ScratchArchive can be directly used as an archive.