pub struct NativeCapabilityProbeAuthority { /* private fields */ }Implementations§
Source§impl NativeCapabilityProbeAuthority
impl NativeCapabilityProbeAuthority
pub fn new(config: NativeCapabilityProbeConfig) -> Self
Sourcepub async fn probe(
&mut self,
spec: &AgentSpec,
working_directory: &str,
) -> Result<Vec<CapabilityModelSummary>, CapabilityProbeFailure>
pub async fn probe( &mut self, spec: &AgentSpec, working_directory: &str, ) -> Result<Vec<CapabilityModelSummary>, CapabilityProbeFailure>
Runs at most once for an agent launch contract in this native host. Both success and failure are cached to preserve Orca’s once-per-host fallback semantics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NativeCapabilityProbeAuthority
impl RefUnwindSafe for NativeCapabilityProbeAuthority
impl Send for NativeCapabilityProbeAuthority
impl Sync for NativeCapabilityProbeAuthority
impl Unpin for NativeCapabilityProbeAuthority
impl UnsafeUnpin for NativeCapabilityProbeAuthority
impl UnwindSafe for NativeCapabilityProbeAuthority
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