pub struct PausedEvent {
pub slot: u64,
pub batch_index: Option<u32>,
}Expand description
Payload emitted when a session halts at a caller-specified point.
batch_index is None for block-boundary pauses and Some(n) when the
session stopped before batch n within slot (no transaction from
batch n has been applied). While paused, RPC reads against the session
observe partial state up through batch n - 1.
Fields§
§slot: u64§batch_index: Option<u32>Trait Implementations§
Source§impl Clone for PausedEvent
impl Clone for PausedEvent
Source§fn clone(&self) -> PausedEvent
fn clone(&self) -> PausedEvent
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 PausedEvent
impl Debug for PausedEvent
Source§impl<'de> Deserialize<'de> for PausedEvent
impl<'de> Deserialize<'de> for PausedEvent
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 PausedEvent
impl RefUnwindSafe for PausedEvent
impl Send for PausedEvent
impl Sync for PausedEvent
impl Unpin for PausedEvent
impl UnsafeUnpin for PausedEvent
impl UnwindSafe for PausedEvent
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