Struct ipfs_sqlite_block_store::Config [−][src]
pub struct Config { /* fields omitted */ }
Implementations
impl Config
[src]
impl Config
[src]pub fn with_read_only(self, value: bool) -> Self
[src]
pub fn with_size_targets(self, size_targets: SizeTargets) -> Self
[src]
pub fn with_size_targets(self, size_targets: SizeTargets) -> Self
[src]Set size targets for the store
pub fn with_cache_tracker<T: CacheTracker + 'static>(
self,
cache_tracker: T
) -> Self
[src]
pub fn with_cache_tracker<T: CacheTracker + 'static>(
self,
cache_tracker: T
) -> Self
[src]Set strategy for which non-pinned blocks to keep in case one of the size targets is exceeded.
pub fn with_pragma_synchronous(self, value: Synchronous) -> Self
[src]
pub fn with_pragma_cache_pages(self, value: u64) -> Self
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self