pub struct DiskMobKitStorageProvider;Expand description
The built-in disk provider: reproduces today’s SQLite/object-store layout
via the M2 MobKitStorageLayout locators and the M3 ledgered openers.
Trait Implementations§
Source§impl Clone for DiskMobKitStorageProvider
impl Clone for DiskMobKitStorageProvider
Source§fn clone(&self) -> DiskMobKitStorageProvider
fn clone(&self) -> DiskMobKitStorageProvider
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 DiskMobKitStorageProvider
Source§impl Debug for DiskMobKitStorageProvider
impl Debug for DiskMobKitStorageProvider
Source§impl Default for DiskMobKitStorageProvider
impl Default for DiskMobKitStorageProvider
Source§fn default() -> DiskMobKitStorageProvider
fn default() -> DiskMobKitStorageProvider
Returns the “default value” for a type. Read more
Source§impl MobKitStorageProvider for DiskMobKitStorageProvider
impl MobKitStorageProvider for DiskMobKitStorageProvider
Source§fn open_realm<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 MobKitRealmOpenContext,
) -> Pin<Box<dyn Future<Output = Result<MobKitRealmStoreSet, MobKitStorageProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn open_realm<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 MobKitRealmOpenContext,
) -> Pin<Box<dyn Future<Output = Result<MobKitRealmStoreSet, MobKitStorageProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Open (or create) the realm’s MobKit stores. Implementations must
apply
enforce_fail_closed_store_set (or an equivalent check)
before returning, so an undeclared non-persistent durable slot is a
typed startup error at the seam.Source§fn meerkat_provider(&self) -> &dyn RealmStorageProvider
fn meerkat_provider(&self) -> &dyn RealmStorageProvider
The meerkat-level provider for the same backend: sessions, runtime,
schedule, workgraph, blobs, artifacts. One downstream implements one
MobKitStorageProvider and covers both levels.Source§fn migrator(&self) -> Option<&dyn StorageMigrator>
fn migrator(&self) -> Option<&dyn StorageMigrator>
The provider’s storage-maintenance hook (diagnosis now; the mutation
verbs land with the M6 migration framework).
None = no migration
story yet.Auto Trait Implementations§
impl Freeze for DiskMobKitStorageProvider
impl RefUnwindSafe for DiskMobKitStorageProvider
impl Send for DiskMobKitStorageProvider
impl Sync for DiskMobKitStorageProvider
impl Unpin for DiskMobKitStorageProvider
impl UnsafeUnpin for DiskMobKitStorageProvider
impl UnwindSafe for DiskMobKitStorageProvider
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<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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 more