pub struct MarshaledConfig<A, B, C, H, Z, S, ES>where
B: CertifiableBlock<Context = Context<Commitment, <Z::Scheme as CertificateScheme>::PublicKey>>,
C: CodingScheme,
H: Hasher,
Z: Provider<Scope = Epoch, Scheme: Scheme<Commitment>>,
S: Strategy,
ES: Epocher,{
pub application: A,
pub marshal: Mailbox<Z::Scheme, Coding<B, C, H, <Z::Scheme as CertificateScheme>::PublicKey>>,
pub shards: Mailbox<B, C, H, <Z::Scheme as CertificateScheme>::PublicKey>,
pub scheme_provider: Z,
pub strategy: S,
pub epocher: ES,
}Expand description
Configuration for initializing Marshaled.
Fields§
§application: AThe underlying application to wrap.
marshal: Mailbox<Z::Scheme, Coding<B, C, H, <Z::Scheme as CertificateScheme>::PublicKey>>Mailbox for communicating with the marshal engine.
shards: Mailbox<B, C, H, <Z::Scheme as CertificateScheme>::PublicKey>Mailbox for communicating with the shards engine.
scheme_provider: ZProvider for signing schemes scoped by epoch.
strategy: SStrategy for parallel operations.
epocher: ESStrategy for determining epoch boundaries.
Auto Trait Implementations§
impl<A, B, C, H, Z, S, ES> Freeze for MarshaledConfig<A, B, C, H, Z, S, ES>
impl<A, B, C, H, Z, S, ES> RefUnwindSafe for MarshaledConfig<A, B, C, H, Z, S, ES>where
<Z as Provider>::Scheme: for<'a> Sized,
A: RefUnwindSafe,
Z: RefUnwindSafe,
S: RefUnwindSafe,
ES: RefUnwindSafe,
impl<A, B, C, H, Z, S, ES> Send for MarshaledConfig<A, B, C, H, Z, S, ES>
impl<A, B, C, H, Z, S, ES> Sync for MarshaledConfig<A, B, C, H, Z, S, ES>
impl<A, B, C, H, Z, S, ES> Unpin for MarshaledConfig<A, B, C, H, Z, S, ES>
impl<A, B, C, H, Z, S, ES> UnsafeUnpin for MarshaledConfig<A, B, C, H, Z, S, ES>where
<Z as Provider>::Scheme: for<'a> Sized,
A: UnsafeUnpin,
Z: UnsafeUnpin,
S: UnsafeUnpin,
ES: UnsafeUnpin,
impl<A, B, C, H, Z, S, ES> UnwindSafe for MarshaledConfig<A, B, C, H, Z, S, ES>where
<Z as Provider>::Scheme: for<'a> Sized,
A: UnwindSafe,
Z: UnwindSafe,
S: UnwindSafe,
ES: UnwindSafe,
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> 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