Struct conserve::Band
[−]
[src]
pub struct Band { /* fields omitted */ }
All backup data is stored in a band.
Methods
impl Band
[src]
fn create(archive_dir: &Path, id: BandId, report: &Report) -> Result<Band>
[src]
Make a new band (and its on-disk directory).
Publicly, prefer Archive::create_band.
fn close(self: &Band, report: &Report) -> Result<()>
[src]
Mark this band closed: no more blocks should be written after this.
fn open(archive_dir: &Path, id: &BandId, report: &Report) -> Result<Band>
[src]
fn is_closed(self: &Band) -> Result<bool>
[src]
fn path(self: &Band) -> &Path
[src]
fn id(self: &Band) -> BandId
[src]
fn block_dir(self: &Band) -> BlockDir
[src]
fn index_builder(self: &Band) -> IndexBuilder
[src]
fn index_iter(&self, report: &Report) -> Result<Iter>
[src]
Make an iterator that will return all entries in this band.
fn get_info(&self, report: &Report) -> Result<Info>
[src]
Return info about the state of this band.