pub struct ContinueToParams {
pub slot: u64,
pub batch_index: Option<u32>,
}Expand description
Arguments used to step an existing session to a precise point.
Fields§
§slot: u64Target slot to stop in (or at, if batch_index is None).
batch_index: Option<u32>Batch within the target slot at which to pause, exclusive — the
session halts immediately before batch n executes, so no
transaction in that batch has been applied yet. None runs the
whole slot, pausing at the block boundary. While paused, RPC reads
observe partial state up through batch n - 1.
Trait Implementations§
Source§impl Clone for ContinueToParams
impl Clone for ContinueToParams
Source§fn clone(&self) -> ContinueToParams
fn clone(&self) -> ContinueToParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContinueToParams
impl Debug for ContinueToParams
Source§impl<'de> Deserialize<'de> for ContinueToParams
impl<'de> Deserialize<'de> for ContinueToParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContinueToParams
impl RefUnwindSafe for ContinueToParams
impl Send for ContinueToParams
impl Sync for ContinueToParams
impl Unpin for ContinueToParams
impl UnsafeUnpin for ContinueToParams
impl UnwindSafe for ContinueToParams
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