Struct ubiquity::archive::ArchiveEntries [] [src]

pub struct ArchiveEntries<AL: ArchiveLen> {
    // some fields omitted
}

Stores all the archive entries for a specific directory

Methods

impl<AL: ArchiveLen> ArchiveEntries<AL>
[src]

fn empty() -> Self

fn iter(&self) -> Iter<HashedPath, GenericArray<ArchiveEntryPerReplica, AL>>

Returns an iterator over the entries.

fn get(&self, path: &Path) -> Option<&GenericArray<ArchiveEntryPerReplica, AL>>

fn insert(&mut self, path: &Path, entries: GenericArray<ArchiveEntryPerReplica, AL>)

fn prune_deleted(&mut self)

fn is_dirty(&self) -> bool

Trait Implementations

impl<AL: ArchiveLen> Debug for ArchiveEntries<AL>
[src]

fn fmt(&self, formatter: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.