pub struct JobStatus {Show 16 fields
pub name: String,
pub job_id: JobId,
pub state: JobState,
pub desired_state: DesiredJobState,
pub generation: u64,
pub starts_total: u64,
pub restarts_total: u64,
pub last_start_at: Option<SystemTime>,
pub last_exit_at: Option<SystemTime>,
pub last_exit_reason: Option<JobExitReason>,
pub backoff_until: Option<Instant>,
pub drain_deadline: Option<Instant>,
pub drain_supported: bool,
pub active_streams: Option<usize>,
pub instrumentation: Option<JobInstrumentationSnapshot>,
pub cluster: Option<ClusterJobMetadata>,
}Expand description
Point-in-time registry snapshot for one job.
Fields§
§name: String§job_id: JobId§state: JobState§desired_state: DesiredJobState§generation: u64§starts_total: u64§restarts_total: u64§last_start_at: Option<SystemTime>§last_exit_at: Option<SystemTime>§last_exit_reason: Option<JobExitReason>§backoff_until: Option<Instant>§drain_deadline: Option<Instant>§drain_supported: bool§active_streams: Option<usize>§instrumentation: Option<JobInstrumentationSnapshot>§cluster: Option<ClusterJobMetadata>Trait Implementations§
impl Eq for JobStatus
impl StructuralPartialEq for JobStatus
Auto Trait Implementations§
impl Freeze for JobStatus
impl RefUnwindSafe for JobStatus
impl Send for JobStatus
impl Sync for JobStatus
impl Unpin for JobStatus
impl UnsafeUnpin for JobStatus
impl UnwindSafe for JobStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> Message for T
impl<T> Message for T
Source§fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
Convert a BoxedMessage to this concrete type
Source§fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
Convert this message to a BoxedMessage