pub struct ContentStorageModes {
pub platform_managed: bool,
pub provider_managed: bool,
pub hybrid: bool,
}Expand description
Physical content-storage modes supported by a platform/host combination.
Fields§
§platform_managed: boolThe operating system owns the materialized local copy.
provider_managed: boolThe provider owns the backing content cache.
hybrid: boolPlatform and provider each own distinct physical cache layers.
Implementations§
Source§impl ContentStorageModes
impl ContentStorageModes
Sourcepub const fn intersection(self, other: Self) -> Self
pub const fn intersection(self, other: Self) -> Self
Computes storage modes shared by both sides.
Sourcepub const fn is_supported(self) -> bool
pub const fn is_supported(self) -> bool
Returns whether at least one materialization mode remains available.
Trait Implementations§
Source§impl Clone for ContentStorageModes
impl Clone for ContentStorageModes
Source§fn clone(&self) -> ContentStorageModes
fn clone(&self) -> ContentStorageModes
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 ContentStorageModes
impl Debug for ContentStorageModes
Source§impl Default for ContentStorageModes
impl Default for ContentStorageModes
Source§fn default() -> ContentStorageModes
fn default() -> ContentStorageModes
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContentStorageModes
impl PartialEq for ContentStorageModes
impl Copy for ContentStorageModes
impl Eq for ContentStorageModes
impl StructuralPartialEq for ContentStorageModes
Auto Trait Implementations§
impl Freeze for ContentStorageModes
impl RefUnwindSafe for ContentStorageModes
impl Send for ContentStorageModes
impl Sync for ContentStorageModes
impl Unpin for ContentStorageModes
impl UnwindSafe for ContentStorageModes
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