pub enum StoragePolicy {
KeepLocal,
Managed,
CloudOnly,
}Expand description
The storage behavior selected for a folderbase on one device.
Variants§
KeepLocal
Materialize every current object, verify it, and never initiate eviction.
Managed
Materialize on demand, but still require an explicit archive decision before removing local content.
CloudOnly
Treat the verified cloud copy as canonical for access on this device.
Selecting this policy does not itself authorize deletion of existing
local bytes. Local removal still goes through evaluate_archive.
Trait Implementations§
Source§impl Clone for StoragePolicy
impl Clone for StoragePolicy
impl Copy for StoragePolicy
Source§impl Debug for StoragePolicy
impl Debug for StoragePolicy
impl Eq for StoragePolicy
Source§impl PartialEq for StoragePolicy
impl PartialEq for StoragePolicy
impl StructuralPartialEq for StoragePolicy
Auto Trait Implementations§
impl Freeze for StoragePolicy
impl RefUnwindSafe for StoragePolicy
impl Send for StoragePolicy
impl Sync for StoragePolicy
impl Unpin for StoragePolicy
impl UnsafeUnpin for StoragePolicy
impl UnwindSafe for StoragePolicy
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.