pub enum AttachmentStorePersistence {
Ephemeral,
Durable,
}Variants§
Implementations§
Source§impl AttachmentStorePersistence
impl AttachmentStorePersistence
Sourcepub fn durability_tier(self) -> DurabilityTier
pub fn durability_tier(self) -> DurabilityTier
Map the attachment-store persistence signal onto the shared
DurabilityTier: Ephemeral -> Inline,
Durable -> Durable. Lets consistency checks read every wired store’s
tier uniformly without a separate durability_tier() method here.
Trait Implementations§
Source§impl Clone for AttachmentStorePersistence
impl Clone for AttachmentStorePersistence
Source§fn clone(&self) -> AttachmentStorePersistence
fn clone(&self) -> AttachmentStorePersistence
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 moreimpl Copy for AttachmentStorePersistence
Source§impl Debug for AttachmentStorePersistence
impl Debug for AttachmentStorePersistence
impl Eq for AttachmentStorePersistence
Source§impl PartialEq for AttachmentStorePersistence
impl PartialEq for AttachmentStorePersistence
Source§fn eq(&self, other: &AttachmentStorePersistence) -> bool
fn eq(&self, other: &AttachmentStorePersistence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttachmentStorePersistence
Auto Trait Implementations§
impl Freeze for AttachmentStorePersistence
impl RefUnwindSafe for AttachmentStorePersistence
impl Send for AttachmentStorePersistence
impl Sync for AttachmentStorePersistence
impl Unpin for AttachmentStorePersistence
impl UnsafeUnpin for AttachmentStorePersistence
impl UnwindSafe for AttachmentStorePersistence
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