pub struct AgentRegistryLogCapture {
pub enabled: bool,
pub open_error: Option<String>,
pub open_error_reason: Option<AgentRegistryLogCaptureOpenErrorReason>,
pub path: Option<String>,
}Expand description
Per-spawn log-capture outcome; populated from spawnLiveTarget.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§enabled: boolWhether per-spawn log capture is on (false when env-disabled or open failed)
open_error: Option<String>Human-readable open failure message (only set when enabled === false AND the env-disable opt-out was NOT used)
open_error_reason: Option<AgentRegistryLogCaptureOpenErrorReason>Categorized reason for log-open failure
path: Option<String>Absolute path to the per-spawn log file (only set when enabled)
Trait Implementations§
Source§impl Clone for AgentRegistryLogCapture
impl Clone for AgentRegistryLogCapture
Source§fn clone(&self) -> AgentRegistryLogCapture
fn clone(&self) -> AgentRegistryLogCapture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentRegistryLogCapture
impl Debug for AgentRegistryLogCapture
Source§impl Default for AgentRegistryLogCapture
impl Default for AgentRegistryLogCapture
Source§fn default() -> AgentRegistryLogCapture
fn default() -> AgentRegistryLogCapture
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentRegistryLogCapture
impl<'de> Deserialize<'de> for AgentRegistryLogCapture
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 Freeze for AgentRegistryLogCapture
impl RefUnwindSafe for AgentRegistryLogCapture
impl Send for AgentRegistryLogCapture
impl Sync for AgentRegistryLogCapture
impl Unpin for AgentRegistryLogCapture
impl UnsafeUnpin for AgentRegistryLogCapture
impl UnwindSafe for AgentRegistryLogCapture
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