pub struct ProcessStarted {
pub owner: LeaseOwnerIdentity,
pub started_at_ms: u64,
}Expand description
Durable “execution started” fact: which owner began executing the row and when. The runner writes it under its live lease immediately before executing so the sweep can distinguish an OwnerBound row that has started (never re-run) from one that has not (runnable by anyone). First-writer-wins.
Fields§
§owner: LeaseOwnerIdentity§started_at_ms: u64Trait Implementations§
Source§impl Clone for ProcessStarted
impl Clone for ProcessStarted
Source§fn clone(&self) -> ProcessStarted
fn clone(&self) -> ProcessStarted
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 ProcessStarted
impl Debug for ProcessStarted
Source§impl<'de> Deserialize<'de> for ProcessStarted
impl<'de> Deserialize<'de> for ProcessStarted
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessStarted, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessStarted, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcessStarted
Source§impl From<ProcessStarted> for RemoteProcessStarted
impl From<ProcessStarted> for RemoteProcessStarted
Source§fn from(value: ProcessStarted) -> RemoteProcessStarted
fn from(value: ProcessStarted) -> RemoteProcessStarted
Converts to this type from the input type.
Source§impl PartialEq for ProcessStarted
impl PartialEq for ProcessStarted
Source§fn eq(&self, other: &ProcessStarted) -> bool
fn eq(&self, other: &ProcessStarted) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessStarted
impl Serialize for ProcessStarted
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ProcessStarted
Source§impl TryFrom<RemoteProcessStarted> for ProcessStarted
impl TryFrom<RemoteProcessStarted> for ProcessStarted
Source§type Error = RemoteProtocolError
type Error = RemoteProtocolError
The type returned in the event of a conversion error.
Source§fn try_from(
value: RemoteProcessStarted,
) -> Result<ProcessStarted, <ProcessStarted as TryFrom<RemoteProcessStarted>>::Error>
fn try_from( value: RemoteProcessStarted, ) -> Result<ProcessStarted, <ProcessStarted as TryFrom<RemoteProcessStarted>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProcessStarted
impl RefUnwindSafe for ProcessStarted
impl Send for ProcessStarted
impl Sync for ProcessStarted
impl Unpin for ProcessStarted
impl UnsafeUnpin for ProcessStarted
impl UnwindSafe for ProcessStarted
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