pub enum AgentStatus {
Running,
Idle,
Suspended,
Interrupted,
Retrying,
Failed,
Exited,
}Variants§
Trait Implementations§
Source§impl Clone for AgentStatus
impl Clone for AgentStatus
impl Copy for AgentStatus
Source§impl Debug for AgentStatus
impl Debug for AgentStatus
impl Eq for AgentStatus
Source§impl FromSchema for AgentStatus
impl FromSchema for AgentStatus
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Source§impl FromWire for AgentStatus
impl FromWire for AgentStatus
fn read_wire( reader: &mut WireReader, index: ValueNodeIndex, ) -> Result<Self, WireError>
fn read_result_payload( reader: &mut WireReader, index: Option<i32>, ) -> Result<Self, WireError>
Source§impl IntoSchema for AgentStatus
impl IntoSchema for AgentStatus
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl IntoWire for AgentStatus
impl IntoWire for AgentStatus
fn preflight(&self, resources: &mut WirePreflight) -> Result<(), WireError>
Source§async fn prepare_wire(&self) -> Result<(), WireError>
async fn prepare_wire(&self) -> Result<(), WireError>
Wrap native stream endpoints without reading from them. This is called
only after the complete value has passed resource preflight.
fn write_wire( &self, writer: &mut WireWriter, ) -> Result<ValueNodeIndex, WireError>
Source§const NEEDS_PREPARATION: bool = true
const NEEDS_PREPARATION: bool = true
False only when
prepare_wire is a no-op for every value of this type.
Resource preflight still runs regardless of this flag. Custom and derived
implementations prepare by default, including those with no stream schema.fn write_result_payload( &self, writer: &mut WireWriter, ) -> Result<Option<i32>, WireError>
Source§impl PartialEq for AgentStatus
impl PartialEq for AgentStatus
impl StructuralPartialEq for AgentStatus
Source§impl WireSchema for AgentStatus
impl WireSchema for AgentStatus
fn contains_stream(seen: &mut HashSet<&'static str>) -> bool
fn append_schema(builder: &mut WireSchemaBuilder) -> TypeNodeIndex
fn wire_type_id() -> String
const IS_UNIT: bool = false
Auto Trait Implementations§
impl Freeze for AgentStatus
impl RefUnwindSafe for AgentStatus
impl Send for AgentStatus
impl Sync for AgentStatus
impl Unpin for AgentStatus
impl UnsafeUnpin for AgentStatus
impl UnwindSafe for AgentStatus
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