pub struct PreparedProfile {
pub reference: ProfileRef,
pub spec: AgentSpec,
pub limits: OrdinaryLimits,
pub binding: OrdinaryBinding,
}Expand description
A fresh, owned binding snapshot. Preparing creates no Session, acquires no Session writer and registers no Agent. Saved resource facts still have to be validated by strict restore before writer acquisition/repair.
Fields§
§reference: ProfileRef§spec: AgentSpec§limits: OrdinaryLimits§binding: OrdinaryBindingAuto Trait Implementations§
impl !RefUnwindSafe for PreparedProfile
impl !Sync for PreparedProfile
impl !UnwindSafe for PreparedProfile
impl Forget for PreparedProfile
impl Freeze for PreparedProfilewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
NonZero<u64>: Freeze,
*const ArcInner<OsExecutionEnv> is !null: Freeze,
PhantomData<ArcInner<OsExecutionEnv>>: Freeze,
*const dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<AgentHarnessOptions, BackendError> + Send is !null: Freeze,
PhantomData<dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<AgentHarnessOptions, BackendError> + Send>: Freeze,
*const dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<Pin<Box<dyn Future<Output = Result<AgentHarnessOptions, BackendError>> + Send>>, BackendError> + Send is !null: Freeze,
PhantomData<dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<Pin<Box<dyn Future<Output = Result<AgentHarnessOptions, BackendError>> + Send>>, BackendError> + Send>: Freeze,
*const ArcInner<NativeBindingResources> is !null: Freeze,
PhantomData<ArcInner<NativeBindingResources>>: Freeze,
*const ArcInner<NativeExtensionCustody> is !null: Freeze,
PhantomData<ArcInner<NativeExtensionCustody>>: Freeze,
impl Move for PreparedProfile
impl Send for PreparedProfilewhere
RawVecInner: Send,
NonZero<u64>: Send,
Arc<OsExecutionEnv>: Send,
BoxRaw<dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<AgentHarnessOptions, BackendError> + Send>: Send,
BoxRaw<dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<Pin<Box<dyn Future<Output = Result<AgentHarnessOptions, BackendError>> + Send>>, BackendError> + Send>: Send,
Arc<NativeBindingResources>: Send,
Arc<NativeExtensionCustody>: Send,
impl Unpin for PreparedProfilewhere
*const u8 is !null: Unpin,
NonZero<u64>: Unpin,
Arc<OsExecutionEnv>: Unpin,
Box<dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<AgentHarnessOptions, BackendError> + Send>: Unpin,
Box<dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<Pin<Box<dyn Future<Output = Result<AgentHarnessOptions, BackendError>> + Send>>, BackendError> + Send>: Unpin,
Arc<NativeBindingResources>: Unpin,
Arc<NativeExtensionCustody>: Unpin,
impl UnsafeUnpin for PreparedProfilewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
*const ArcInner<OsExecutionEnv> is !null: UnsafeUnpin,
PhantomData<ArcInner<OsExecutionEnv>>: UnsafeUnpin,
*const dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<AgentHarnessOptions, BackendError> + Send is !null: UnsafeUnpin,
PhantomData<dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<AgentHarnessOptions, BackendError> + Send>: UnsafeUnpin,
*const dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<Pin<Box<dyn Future<Output = Result<AgentHarnessOptions, BackendError>> + Send>>, BackendError> + Send is !null: UnsafeUnpin,
PhantomData<dyn FnOnce(&AgentSpec, Arc<OsExecutionEnv>, &JsonlSessionFacts) -> Result<Pin<Box<dyn Future<Output = Result<AgentHarnessOptions, BackendError>> + Send>>, BackendError> + Send>: UnsafeUnpin,
*const ArcInner<NativeBindingResources> is !null: UnsafeUnpin,
PhantomData<ArcInner<NativeBindingResources>>: UnsafeUnpin,
*const ArcInner<NativeExtensionCustody> is !null: UnsafeUnpin,
PhantomData<ArcInner<NativeExtensionCustody>>: UnsafeUnpin,
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