#[repr(C)]pub struct DurableExecutionState {
pub is_live: bool,
pub persistence_level: PersistenceLevel,
}Expand description
Represents the current durable execution state
Fields§
§is_live: boolIf true, the executor is in live mode, side-effects should be performed and persisted. If false, the executor is in replay mode, side-effects should be replayed from the persisted data.
persistence_level: PersistenceLevelThe currently active persistence level
Trait Implementations§
Source§impl Clone for DurableExecutionState
impl Clone for DurableExecutionState
Source§fn clone(&self) -> DurableExecutionState
fn clone(&self) -> DurableExecutionState
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 Debug for DurableExecutionState
impl Debug for DurableExecutionState
impl Copy for DurableExecutionState
Auto Trait Implementations§
impl Freeze for DurableExecutionState
impl RefUnwindSafe for DurableExecutionState
impl Send for DurableExecutionState
impl Sync for DurableExecutionState
impl Unpin for DurableExecutionState
impl UnwindSafe for DurableExecutionState
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