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§fn clone(&self) -> LocalBytes
fn clone(&self) -> LocalBytes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.