pub struct ReloadSession {
pub id: String,
pub journal_id: String,
pub config: SessionConfig,
pub keep_warm: bool,
pub lifecycle: SessionLifecycle,
pub settings_replay: Vec<SessionSetting>,
pub cache_keepwarm: Option<String>,
pub input_owner_kind: Option<ClientKind>,
pub workers: Vec<CarriedWorker>,
pub tool_activations: Vec<CarriedActivation>,
}Expand description
One recorded session.
Fields§
§id: String§journal_id: String§config: SessionConfig§keep_warm: bool§lifecycle: SessionLifecycle§settings_replay: Vec<SessionSetting>Non-persisted knobs re-Set after create (incl. /system).
cache_keepwarm: Option<String>Per-session /keepwarm override (task #444), re-applied after create.
input_owner_kind: Option<ClientKind>§workers: Vec<CarriedWorker>Workers the checkpoint stopped (or that still owed the parent a
completion wake), handed to the new image (AdoptWorkers).
tool_activations: Vec<CarriedActivation>The session’s exact tool activations, restored into the new image’s
runtime (re-validated there; see SessionToolSet::restore_carried).
Empty from an older image or a checkpoint that did not confirm.
Trait Implementations§
Source§impl Clone for ReloadSession
impl Clone for ReloadSession
Source§impl Debug for ReloadSession
impl Debug for ReloadSession
Source§impl<'de> Deserialize<'de> for ReloadSession
impl<'de> Deserialize<'de> for ReloadSession
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
Auto Trait Implementations§
impl Freeze for ReloadSession
impl RefUnwindSafe for ReloadSession
impl Send for ReloadSession
impl Sync for ReloadSession
impl Unpin for ReloadSession
impl UnsafeUnpin for ReloadSession
impl UnwindSafe for ReloadSession
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.