pub struct SlotResult<S, B, T, W> {
pub state_root: S,
pub batch_receipts: Vec<BatchReceipt<B, T>>,
pub witness: W,
}
Expand description
Result of applying a slot to current state Where:
- S - generic for state root
- B - generic for batch receipt contents
- T - generic for transaction receipt contents
- W - generic for witness
Fields§
§state_root: S
Final state root after all blobs were applied
batch_receipts: Vec<BatchReceipt<B, T>>
Receipt for each applied batch
witness: W
Witness after applying the whole block
Auto Trait Implementations§
impl<S, B, T, W> Freeze for SlotResult<S, B, T, W>
impl<S, B, T, W> RefUnwindSafe for SlotResult<S, B, T, W>
impl<S, B, T, W> Send for SlotResult<S, B, T, W>
impl<S, B, T, W> Sync for SlotResult<S, B, T, W>
impl<S, B, T, W> Unpin for SlotResult<S, B, T, W>
impl<S, B, T, W> UnwindSafe for SlotResult<S, B, T, W>
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