pub struct StaticAgentAvailabilityProbe {
pub available_agent_kinds: Vec<AgentKind>,
}Expand description
Availability probe that returns one caller-provided snapshot.
Fields§
§available_agent_kinds: Vec<AgentKind>Agent kinds reported as available by the static probe.
Trait Implementations§
Source§impl AgentAvailabilityProbe for StaticAgentAvailabilityProbe
impl AgentAvailabilityProbe for StaticAgentAvailabilityProbe
Source§fn available_agent_kinds(&self) -> Vec<AgentKind>
fn available_agent_kinds(&self) -> Vec<AgentKind>
Returns the agent kinds whose backing CLI executable is available.
Source§fn available_agent_clis(&self) -> Vec<AgentCliInfo>
fn available_agent_clis(&self) -> Vec<AgentCliInfo>
Returns available agent CLI executables and their refreshed versions.
Auto Trait Implementations§
impl Freeze for StaticAgentAvailabilityProbe
impl RefUnwindSafe for StaticAgentAvailabilityProbe
impl Send for StaticAgentAvailabilityProbe
impl Sync for StaticAgentAvailabilityProbe
impl Unpin for StaticAgentAvailabilityProbe
impl UnsafeUnpin for StaticAgentAvailabilityProbe
impl UnwindSafe for StaticAgentAvailabilityProbe
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.