Struct conserve::Band

source ·
pub struct Band {
    pub index_dir_path: PathBuf,
    /* private fields */
}
Expand description

All backup data is stored in a band.

Fields§

§index_dir_path: PathBuf

Implementations§

Make a new band (and its on-disk directory).

The Band gets the next id after those that already exist.

Mark this band closed: no more blocks should be written after this.

Open a given band, or by default the latest complete backup in the archive.

Return info about the state of this band.

Get the total size in bytes of files stored for this band.

Not very useful at the moment as it doesn’t include the blocks.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. 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
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. 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.