pub struct ResumableJobState {
pub job_id: ResumableJobId,
pub sequence: u64,
pub status: ResumableJobStatus,
pub proof: ReadSetRevisionProof,
pub continuation: Option<String>,
pub application_state: Vec<u8>,
}Expand description
Current bounded durable state of one application-owned job.
Fields§
§job_id: ResumableJobIdApplication-owned job identity.
sequence: u64Next sequence expected by compare-proof-and-advance.
status: ResumableJobStatusCurrent job lifecycle.
proof: ReadSetRevisionProofComplete immutable protected-source proof.
continuation: Option<String>Opaque page continuation retained after the last successful advance.
application_state: Vec<u8>Application-defined bounded accumulator or phase state.
Trait Implementations§
Source§impl CandidType for ResumableJobState
impl CandidType for ResumableJobState
Source§impl Clone for ResumableJobState
impl Clone for ResumableJobState
Source§fn clone(&self) -> ResumableJobState
fn clone(&self) -> ResumableJobState
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 ResumableJobState
impl Debug for ResumableJobState
Source§impl<'de> Deserialize<'de> for ResumableJobState
impl<'de> Deserialize<'de> for ResumableJobState
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
impl Eq for ResumableJobState
Source§impl PartialEq for ResumableJobState
impl PartialEq for ResumableJobState
impl StructuralPartialEq for ResumableJobState
Auto Trait Implementations§
impl Freeze for ResumableJobState
impl RefUnwindSafe for ResumableJobState
impl Send for ResumableJobState
impl Sync for ResumableJobState
impl Unpin for ResumableJobState
impl UnsafeUnpin for ResumableJobState
impl UnwindSafe for ResumableJobState
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