pub struct StoreAllocationIdentities { /* private fields */ }Expand description
StoreAllocationIdentities
Durable allocation identities for one logical store’s data, index, and schema memories.
Implementations§
Source§impl StoreAllocationIdentities
impl StoreAllocationIdentities
Sourcepub const fn new(
data: StoreAllocationIdentity,
index: StoreAllocationIdentity,
schema: StoreAllocationIdentity,
) -> Self
pub const fn new( data: StoreAllocationIdentity, index: StoreAllocationIdentity, schema: StoreAllocationIdentity, ) -> Self
Build one allocation identity bundle.
Sourcepub const fn new_journaled(
data: StoreAllocationIdentity,
index: StoreAllocationIdentity,
schema: StoreAllocationIdentity,
journal: StoreAllocationIdentity,
) -> Self
pub const fn new_journaled( data: StoreAllocationIdentity, index: StoreAllocationIdentity, schema: StoreAllocationIdentity, journal: StoreAllocationIdentity, ) -> Self
Build one journaled cached-stable allocation identity bundle.
Sourcepub const fn data(self) -> Option<StoreAllocationIdentity>
pub const fn data(self) -> Option<StoreAllocationIdentity>
Return data-memory allocation identity.
Sourcepub const fn index(self) -> Option<StoreAllocationIdentity>
pub const fn index(self) -> Option<StoreAllocationIdentity>
Return index-memory allocation identity.
Sourcepub const fn schema(self) -> Option<StoreAllocationIdentity>
pub const fn schema(self) -> Option<StoreAllocationIdentity>
Return schema-memory allocation identity.
Sourcepub const fn journal(self) -> Option<StoreAllocationIdentity>
pub const fn journal(self) -> Option<StoreAllocationIdentity>
Return journal-tail allocation identity.
Sourcepub const fn allocation_identity_capability(
self,
) -> Option<StoreAllocationIdentityCapability>
pub const fn allocation_identity_capability( self, ) -> Option<StoreAllocationIdentityCapability>
Return the allocation capability represented by this triplet, or
None if the triplet is partially populated and therefore invalid.
Sourcepub const fn matches_storage_capabilities(
self,
capabilities: StoreRuntimeStorageCapabilities,
) -> bool
pub const fn matches_storage_capabilities( self, capabilities: StoreRuntimeStorageCapabilities, ) -> bool
Return whether this allocation shape matches the concrete storage capability descriptor.
Trait Implementations§
Source§impl Clone for StoreAllocationIdentities
impl Clone for StoreAllocationIdentities
Source§fn clone(&self) -> StoreAllocationIdentities
fn clone(&self) -> StoreAllocationIdentities
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 StoreAllocationIdentities
Source§impl Debug for StoreAllocationIdentities
impl Debug for StoreAllocationIdentities
Source§impl Default for StoreAllocationIdentities
impl Default for StoreAllocationIdentities
Source§fn default() -> StoreAllocationIdentities
fn default() -> StoreAllocationIdentities
Returns the “default value” for a type. Read more
impl Eq for StoreAllocationIdentities
Source§impl PartialEq for StoreAllocationIdentities
impl PartialEq for StoreAllocationIdentities
Source§fn eq(&self, other: &StoreAllocationIdentities) -> bool
fn eq(&self, other: &StoreAllocationIdentities) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoreAllocationIdentities
Auto Trait Implementations§
impl Freeze for StoreAllocationIdentities
impl RefUnwindSafe for StoreAllocationIdentities
impl Send for StoreAllocationIdentities
impl Sync for StoreAllocationIdentities
impl Unpin for StoreAllocationIdentities
impl UnsafeUnpin for StoreAllocationIdentities
impl UnwindSafe for StoreAllocationIdentities
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