pub struct Claimed {
pub daemon_id: DaemonId,
pub claimed_at: DateTime<Utc>,
pub retry_attempt: u32,
pub batch_expires_at: DateTime<Utc>,
}Expand description
Request has been claimed by a daemon but not yet actively executing.
This intermediate state helps track which daemon is responsible for processing the request.
Fields§
§daemon_id: DaemonId§claimed_at: DateTime<Utc>§retry_attempt: u32Number of times this request has been attempted (carried over from Pending)
batch_expires_at: DateTime<Utc>When the batch expires (carried over from Pending)
Trait Implementations§
impl RequestState for Claimed
Auto Trait Implementations§
impl Freeze for Claimed
impl RefUnwindSafe for Claimed
impl Send for Claimed
impl Sync for Claimed
impl Unpin for Claimed
impl UnwindSafe for Claimed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more