Struct sov_rollup_interface::stf::SlotResult
source · 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> RefUnwindSafe for SlotResult<S, B, T, W>where B: RefUnwindSafe, S: RefUnwindSafe, T: RefUnwindSafe, W: RefUnwindSafe,
impl<S, B, T, W> Send for SlotResult<S, B, T, W>where B: Send, S: Send, T: Send, W: Send,
impl<S, B, T, W> Sync for SlotResult<S, B, T, W>where B: Sync, S: Sync, T: Sync, W: Sync,
impl<S, B, T, W> Unpin for SlotResult<S, B, T, W>where B: Unpin, S: Unpin, T: Unpin, W: Unpin,
impl<S, B, T, W> UnwindSafe for SlotResult<S, B, T, W>where B: UnwindSafe, S: UnwindSafe, T: UnwindSafe, W: 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