pub struct AgentProfileFile { /* private fields */ }Expand description
One private daemon Agent profile document (startup or dynamic-only).
Implementations§
Source§impl AgentProfileFile
impl AgentProfileFile
Sourcepub fn into_startup(self) -> BackendResult<HostStartupAgent>
pub fn into_startup(self) -> BackendResult<HostStartupAgent>
Validate the document and produce the exact AgentSpec/native binding the daemon will use. Rejections are fixed diagnostics without secret values.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentProfileFile
impl<'de> Deserialize<'de> for AgentProfileFile
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 Forget for AgentProfileFile
impl Freeze for AgentProfileFilewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, ProviderConfig>>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<HookRegistration>: Freeze,
impl Move for AgentProfileFile
impl RefUnwindSafe for AgentProfileFile
impl Send for AgentProfileFile
impl Sync for AgentProfileFile
impl Unpin for AgentProfileFile
impl UnsafeUnpin for AgentProfileFilewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, ProviderConfig>>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<HookRegistration>: UnsafeUnpin,
impl UnwindSafe for AgentProfileFilewhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<ThinkingLevel, Option<String>>: UnwindSafe,
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