pub struct Block {
pub slot: Slot,
/* private fields */
}Expand description
Block under construction
Fields§
§slot: SlotImplementations§
Source§impl Block
State machine for buffering blockstore events based on linger and other buffering limits.
impl Block
State machine for buffering blockstore events based on linger and other buffering limits.
Implements a sans-IO API for better easier testability and better separation of concerns.
If you want to use this in a real-world scenario, you need to implement your own sync/async driver to progress in the same machine.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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