pub struct Config<T: Translator, J> {
pub merkle_config: Config,
pub log: J,
pub translator: T,
}Expand description
Configuration for an Immutable authenticated db.
Fields§
§merkle_config: ConfigConfiguration for the Merkle structure backing the authenticated journal.
log: JConfiguration for the operations log journal.
translator: TThe translator used by the compressed index.
Trait Implementations§
Auto Trait Implementations§
impl<T, J> Freeze for Config<T, J>
impl<T, J> !RefUnwindSafe for Config<T, J>
impl<T, J> Send for Config<T, J>where
J: Send,
impl<T, J> Sync for Config<T, J>where
J: Sync,
impl<T, J> Unpin for Config<T, J>
impl<T, J> UnsafeUnpin for Config<T, J>where
J: UnsafeUnpin,
T: UnsafeUnpin,
impl<T, J> !UnwindSafe for Config<T, J>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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