pub struct LocalBytes {
pub namespaces: Vec<NamespaceBytes>,
pub pinning: u64,
pub library: u64,
pub before_reset: Option<u64>,
}Expand description
What a store keeps on this device, in bytes on disk (§17.8, §19.3).
Fields§
§namespaces: Vec<NamespaceBytes>Each declared namespace’s cache, in declaration order.
pinning: u64Partial downloads pins left, kept apart from the cache.
library: u64The store’s own files: its database files as their last checkpoints left them, coven’s copies of app files, the snapshot and floor bodies this device captured to upload, and a rebuild’s database files while one runs.
before_reset: Option<u64>The total size of the archives that resets kept, while there is one.
Trait Implementations§
Source§impl Clone for LocalBytes
impl Clone for LocalBytes
Source§impl Debug for LocalBytes
impl Debug for LocalBytes
impl Eq for LocalBytes
Source§impl PartialEq for LocalBytes
impl PartialEq for LocalBytes
impl StructuralPartialEq for LocalBytes
Auto Trait Implementations§
impl Freeze for LocalBytes
impl RefUnwindSafe for LocalBytes
impl Send for LocalBytes
impl Sync for LocalBytes
impl Unpin for LocalBytes
impl UnsafeUnpin for LocalBytes
impl UnwindSafe for LocalBytes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.