pub struct ActiveGenerationState {
pub generation_id: u64,
pub started_at_unix_ms: u64,
pub artifact_path: PathBuf,
pub accepting_new_admissions: bool,
pub closing: bool,
pub inflight_captured_requests: u64,
pub finalization_in_progress: bool,
pub last_finalize_error: Option<String>,
pub activation_config: ControllerActivationTemplate,
}Expand description
Metadata for one active generation.
Fields§
§generation_id: u64Monotonic generation identifier.
started_at_unix_ms: u64Activation start timestamp.
artifact_path: PathBufArtifact path assigned to this generation.
accepting_new_admissions: boolWhether this generation currently accepts new admissions.
closing: boolWhether this generation is marked closing.
inflight_captured_requests: u64Number of admitted captured requests still in-flight.
finalization_in_progress: boolWhether a generation finalization attempt is currently in progress.
last_finalize_error: Option<String>Last finalization error observed for this generation, if any.
When present, generation remains active-but-closing and callers can retry
finalization via TailtriageController::disable or
TailtriageController::shutdown.
activation_config: ControllerActivationTemplateEffective activation settings fixed for this generation.
Trait Implementations§
Source§impl Clone for ActiveGenerationState
impl Clone for ActiveGenerationState
Source§fn clone(&self) -> ActiveGenerationState
fn clone(&self) -> ActiveGenerationState
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 ActiveGenerationState
impl Debug for ActiveGenerationState
Source§impl PartialEq for ActiveGenerationState
impl PartialEq for ActiveGenerationState
Source§fn eq(&self, other: &ActiveGenerationState) -> bool
fn eq(&self, other: &ActiveGenerationState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ActiveGenerationState
impl StructuralPartialEq for ActiveGenerationState
Auto Trait Implementations§
impl Freeze for ActiveGenerationState
impl RefUnwindSafe for ActiveGenerationState
impl Send for ActiveGenerationState
impl Sync for ActiveGenerationState
impl Unpin for ActiveGenerationState
impl UnsafeUnpin for ActiveGenerationState
impl UnwindSafe for ActiveGenerationState
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.