pub trait Inner<E: Context>: Mutable + Persistable<Error = Error> {
type Config: Clone + Send;
// Required method
fn init<F: Family, H: Hasher, S: Strategy>(
context: E,
merkle_cfg: Config<S>,
journal_cfg: Self::Config,
rewind_predicate: fn(&Self::Item) -> bool,
bagging: Bagging,
) -> impl Future<Output = Result<Journal<F, E, Self, H, S>, Error<F>>> + Send
where Self: Sized,
Self::Item: EncodeShared;
}Expand description
Required Associated Types§
Required Methods§
Sourcefn init<F: Family, H: Hasher, S: Strategy>(
context: E,
merkle_cfg: Config<S>,
journal_cfg: Self::Config,
rewind_predicate: fn(&Self::Item) -> bool,
bagging: Bagging,
) -> impl Future<Output = Result<Journal<F, E, Self, H, S>, Error<F>>> + Send
fn init<F: Family, H: Hasher, S: Strategy>( context: E, merkle_cfg: Config<S>, journal_cfg: Self::Config, rewind_predicate: fn(&Self::Item) -> bool, bagging: Bagging, ) -> impl Future<Output = Result<Journal<F, E, Self, H, S>, Error<F>>> + Send
Initialize an authenticated Journal backed by this journal type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl<E: Context, A: CodecFixedShared> Inner<E> for commonware_storage::journal::contiguous::fixed::Journal<E, A>
Available on neither commonware_stability_BETA nor commonware_stability_GAMMA nor commonware_stability_DELTA nor commonware_stability_EPSILON nor commonware_stability_RESERVED.
impl<E: Context, A: CodecFixedShared> Inner<E> for commonware_storage::journal::contiguous::fixed::Journal<E, A>
Available on neither
commonware_stability_BETA nor commonware_stability_GAMMA nor commonware_stability_DELTA nor commonware_stability_EPSILON nor commonware_stability_RESERVED.