pub struct ContinuationState {
pub op_type: OpType,
pub state: OperationState,
pub cycles_consumed: u64,
pub max_cycles: u64,
}Expand description
Continuation state for resuming a time-sliced operation.
Fields§
§op_type: OpTypeOperation type identifier.
state: OperationStateCurrent intermediate values.
cycles_consumed: u64Number of cycles consumed so far.
max_cycles: u64Maximum cycles allowed.
Trait Implementations§
Source§impl Clone for ContinuationState
impl Clone for ContinuationState
Source§fn clone(&self) -> ContinuationState
fn clone(&self) -> ContinuationState
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 moreAuto Trait Implementations§
impl Freeze for ContinuationState
impl RefUnwindSafe for ContinuationState
impl Send for ContinuationState
impl Sync for ContinuationState
impl Unpin for ContinuationState
impl UnwindSafe for ContinuationState
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