pub struct ResumeResult<S: KernelState> {
pub state: S,
pub events_replayed: usize,
pub idempotent: bool,
}Expand description
Result of a replay resume operation.
Fields§
§state: SThe final state after replay + inject decision.
events_replayed: usizeNumber of events replayed.
idempotent: boolWhether this was an idempotent resume (already at the same point).
Trait Implementations§
Source§impl<S: Clone + KernelState> Clone for ResumeResult<S>
impl<S: Clone + KernelState> Clone for ResumeResult<S>
Source§fn clone(&self) -> ResumeResult<S>
fn clone(&self) -> ResumeResult<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug + KernelState> Debug for ResumeResult<S>
impl<S: Debug + KernelState> Debug for ResumeResult<S>
Source§impl<'de, S> Deserialize<'de> for ResumeResult<S>where
S: Deserialize<'de> + KernelState,
impl<'de, S> Deserialize<'de> for ResumeResult<S>where
S: Deserialize<'de> + KernelState,
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
Source§impl<S> Serialize for ResumeResult<S>where
S: Serialize + KernelState,
impl<S> Serialize for ResumeResult<S>where
S: Serialize + KernelState,
Auto Trait Implementations§
impl<S> Freeze for ResumeResult<S>where
S: Freeze,
impl<S> RefUnwindSafe for ResumeResult<S>where
S: RefUnwindSafe,
impl<S> Send for ResumeResult<S>
impl<S> Sync for ResumeResult<S>
impl<S> Unpin for ResumeResult<S>where
S: Unpin,
impl<S> UnsafeUnpin for ResumeResult<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ResumeResult<S>where
S: 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