pub fn indexed_unreliable(
        &mut self,
        unreliable: UnreliableHandle,
    ) -> Result<Indexed<UnreliableLog<MemLog>, UnreliableBlob<MemBlob>>, Error> {
        let log = self.log_no_reentrance()?;
        let log = UnreliableLog::from_handle(log, unreliable.clone());
        let metrics = Metrics::register_with(&MetricsRegistry::new());
        let blob = self.blob_no_reentrance()?;
        let blob = UnreliableBlob::from_handle(blob, unreliable);
        let blob = BlobCache::new(build_info::DUMMY_BUILD_INFO, metrics.clone(), blob);
        let compacter = Maintainer::new(blob.clone(), Arc::new(Runtime::new()?));
        Indexed::new(log, blob, compacter, metrics)
    }
/// Returns a [RuntimeClient] with unreliable storage backed by the given
/// [`UnreliableHandle`].
Returns a [RuntimeClient] with unreliable storage backed by the given
[`UnreliableHandle`].
Returns a [ RuntimeClient ] with unreliable storage backed by the given [ ` UnreliableHandle ` ] .
pub fn indexed_unreliable(
        &mut self,
        unreliable: UnreliableHandle,
    ) -> Result<Indexed<UnreliableLog<MemLog>, UnreliableBlob<MemBlob>>, Error> {
        let log = self.log_no_reentrance()?;
        let log = UnreliableLog::from_handle(log, unreliable.clone());
        let metrics = Metrics::register_with(&MetricsRegistry::new());
        let blob = self.blob_no_reentrance()?;
        let blob = UnreliableBlob::from_handle(blob, unreliable);
        let blob = BlobCache::new(build_info::DUMMY_BUILD_INFO, metrics.clone(), blob);
        let compacter = Maintainer::new(blob.clone(), Arc::new(Runtime::new()?));
        Indexed::new(log, blob, compacter, metrics)
    }
pub fn indexed_unreliable ( & mut self , unreliable : UnreliableHandle , ) -> Result < Indexed < UnreliableLog < MemLog > , UnreliableBlob < MemBlob > > , Error > { let log = self . log_no_reentrance ( ) ? ; let log = UnreliableLog :: from_handle ( log , unreliable . clone ( ) ) ; let metrics = Metrics :: register_with ( & MetricsRegistry :: new ( ) ) ; let blob = self . blob_no_reentrance ( ) ? ; let blob = UnreliableBlob :: from_handle ( blob , unreliable ) ; let blob = BlobCache :: new ( build_info :: DUMMY_BUILD_INFO , metrics . clone ( ) , blob ) ; let compacter = Maintainer :: new ( blob . clone ( ) , Arc :: new ( Runtime :: new ( ) ? ) ) ; Indexed :: new ( log , blob , compacter , metrics ) }
Returns a [RuntimeClient] with unreliable storage backed by the given
[`UnreliableHandle`].
Returns a [ RuntimeClient ] with unreliable storage backed by the given [ ` UnreliableHandle ` ] .
&mut self
unreliable
UnreliableHandle
&mut self
unreliable
UnreliableHandle