pub struct Proposed<A: Application<E>, E: Rng + Spawner + Metrics + Clock> {
pub block: A::Block,
pub merkleized: <A::Databases as DatabaseSet<E>>::Merkleized,
}Expand description
The output of a successful Application::propose call.
Fields§
§block: A::BlockThe block built by the application.
merkleized: <A::Databases as DatabaseSet<E>>::MerkleizedThe merkleized database batches produced during execution.
Auto Trait Implementations§
impl<A, E> Freeze for Proposed<A, E>where
<A as Application<E>>::Block: Freeze,
<<A as Application<E>>::Databases as DatabaseSet<E>>::Merkleized: Freeze,
impl<A, E> RefUnwindSafe for Proposed<A, E>where
<A as Application<E>>::Block: RefUnwindSafe,
<<A as Application<E>>::Databases as DatabaseSet<E>>::Merkleized: RefUnwindSafe,
impl<A, E> Send for Proposed<A, E>
impl<A, E> Sync for Proposed<A, E>
impl<A, E> Unpin for Proposed<A, E>where
<A as Application<E>>::Block: Unpin,
<<A as Application<E>>::Databases as DatabaseSet<E>>::Merkleized: Unpin,
impl<A, E> UnsafeUnpin for Proposed<A, E>where
<A as Application<E>>::Block: UnsafeUnpin,
<<A as Application<E>>::Databases as DatabaseSet<E>>::Merkleized: UnsafeUnpin,
impl<A, E> UnwindSafe for Proposed<A, E>where
<A as Application<E>>::Block: UnwindSafe,
<<A as Application<E>>::Databases as DatabaseSet<E>>::Merkleized: 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