[−][src]Struct ubiquity::archive::ArchiveEntries
Stores all the archive entries for a specific directory
Methods
impl<N: NumRoots> ArchiveEntries<N>
[src]
pub fn empty() -> Self
[src]
pub fn iter(&self) -> Iter<HashedPath, GenericArray<ArchiveEntryPerReplica, N>>
[src]
Returns an iterator over the entries.
pub fn get(
&self,
path: &Path
) -> Option<&GenericArray<ArchiveEntryPerReplica, N>>
[src]
&self,
path: &Path
) -> Option<&GenericArray<ArchiveEntryPerReplica, N>>
pub fn insert(
&mut self,
path: &Path,
entries: GenericArray<ArchiveEntryPerReplica, N>
)
[src]
&mut self,
path: &Path,
entries: GenericArray<ArchiveEntryPerReplica, N>
)
pub fn prune_deleted(&mut self)
[src]
pub fn is_dirty(&self) -> bool
[src]
Trait Implementations
impl<N: NumRoots> Debug for ArchiveEntries<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for ArchiveEntries<N> where
<N as ArrayLength<ArchiveEntryPerReplica>>::ArrayType: RefUnwindSafe,
<N as ArrayLength<ArchiveEntryPerReplica>>::ArrayType: RefUnwindSafe,
impl<N> Send for ArchiveEntries<N>
impl<N> Sync for ArchiveEntries<N>
impl<N> Unpin for ArchiveEntries<N> where
<N as ArrayLength<ArchiveEntryPerReplica>>::ArrayType: Unpin,
<N as ArrayLength<ArchiveEntryPerReplica>>::ArrayType: Unpin,
impl<N> UnwindSafe for ArchiveEntries<N> where
<N as ArrayLength<ArchiveEntryPerReplica>>::ArrayType: UnwindSafe,
<N as ArrayLength<ArchiveEntryPerReplica>>::ArrayType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,