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 database and its journals, its settings and key files, and coven’s own copies of files: every file in the store’s directory but the cache and the archives.
before_reset: Option<u64>The archives resets kept, while there is one.
Trait Implementations§
Source§impl Clone for LocalBytes
impl Clone for LocalBytes
Source§fn clone(&self) -> LocalBytes
fn clone(&self) -> LocalBytes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalBytes
impl Debug for LocalBytes
Source§impl PartialEq for LocalBytes
impl PartialEq for LocalBytes
impl Eq 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.