Trait Wire Value
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub trait WireValue<W>: Sized {
// Required methods
fn to_wire(self) -> Result<W>;
fn from_wire(value: W) -> Result<Self>;
}
Bidirectional conversion without exposing transport representation to callbacks.
Required Methods
to_wire
fn to_wire(self) -> Result<W>
Encode an owned domain value.
from_wire
fn from_wire(value: W) -> Result<Self>
Decode a protobuf value into an owned domain value.
Dyn Compatibility
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called “object safety”, so this trait is not object safe.
Implementations on Foreign Types
impl WireValue<bool> for bool
impl WireValue<bool> for bool
to_wire
fn to_wire(self) -> Result<bool>
from_wire
fn from_wire(value: bool) -> Result<Self>
impl WireValue<f64> for f64
impl WireValue<f64> for f64
to_wire
fn to_wire(self) -> Result<f64>
from_wire
fn from_wire(value: f64) -> Result<Self>
impl WireValue<i32> for i32
impl WireValue<i32> for i32
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for CapacityUnit
impl WireValue<i32> for CapacityUnit
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for CostSource
impl WireValue<i32> for CostSource
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for CountUnit
impl WireValue<i32> for CountUnit
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for DiagnosticAvailability
impl WireValue<i32> for DiagnosticAvailability
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for DiagnosticDomain
impl WireValue<i32> for DiagnosticDomain
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for DiagnosticLevel
impl WireValue<i32> for DiagnosticLevel
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for DiagnosticOutcome
impl WireValue<i32> for DiagnosticOutcome
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for DiagnosticReadReason
impl WireValue<i32> for DiagnosticReadReason
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for DiagnosticSeverity
impl WireValue<i32> for DiagnosticSeverity
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for DiagnosticSummaryScope
impl WireValue<i32> for DiagnosticSummaryScope
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for DurationUnit
impl WireValue<i32> for DurationUnit
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for LlmOptimizationEvidenceQuality
impl WireValue<i32> for LlmOptimizationEvidenceQuality
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for LlmOptimizationSummaryStatus
impl WireValue<i32> for LlmOptimizationSummaryStatus
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for LogSeverity
impl WireValue<i32> for LogSeverity
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for MemoryFieldScope
impl WireValue<i32> for MemoryFieldScope
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for PluginDiagnosticFamily
impl WireValue<i32> for PluginDiagnosticFamily
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ResourceAssociation
impl WireValue<i32> for ResourceAssociation
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ResourceLimitEventKind
impl WireValue<i32> for ResourceLimitEventKind
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ResourceLimitResource
impl WireValue<i32> for ResourceLimitResource
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ResourceMeasurementScope
impl WireValue<i32> for ResourceMeasurementScope
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ResourceMemoryAvailability
impl WireValue<i32> for ResourceMemoryAvailability
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ResourceOperatingSystem
impl WireValue<i32> for ResourceOperatingSystem
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ResourceSampleStream
impl WireValue<i32> for ResourceSampleStream
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for RuntimeRegistrationKind
impl WireValue<i32> for RuntimeRegistrationKind
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ScopeCategory
impl WireValue<i32> for ScopeCategory
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i32> for ScopeType
impl WireValue<i32> for ScopeType
to_wire
fn to_wire(self) -> Result<i32>
from_wire
fn from_wire(value: i32) -> Result<Self>
impl WireValue<i64> for i64
impl WireValue<i64> for i64
to_wire
fn to_wire(self) -> Result<i64>
from_wire
fn from_wire(value: i64) -> Result<Self>
impl WireValue<u32> for u32
impl WireValue<u32> for u32
to_wire
fn to_wire(self) -> Result<u32>
from_wire
fn from_wire(value: u32) -> Result<Self>
impl WireValue<u64> for u64
impl WireValue<u64> for u64
to_wire
fn to_wire(self) -> Result<u64>
from_wire
fn from_wire(value: u64) -> Result<Self>
impl WireValue<u64> for usize
impl WireValue<u64> for usize
to_wire
fn to_wire(self) -> Result<u64>
from_wire
fn from_wire(value: u64) -> Result<Self>
impl WireValue<u64> for DiagnosticNumber
impl WireValue<u64> for DiagnosticNumber
to_wire
fn to_wire(self) -> Result<u64>
from_wire
fn from_wire(value: u64) -> Result<Self>
impl WireValue<AnnotatedLlmRequest> for AnnotatedLlmRequest
impl WireValue<AnnotatedLlmRequest> for AnnotatedLlmRequest
to_wire
fn to_wire(self) -> Result<AnnotatedLlmRequest>
from_wire
fn from_wire(value: AnnotatedLlmRequest) -> Result<Self>
impl WireValue<AnnotatedLlmResponse> for AnnotatedLlmResponse
impl WireValue<AnnotatedLlmResponse> for AnnotatedLlmResponse
to_wire
fn to_wire(self) -> Result<AnnotatedLlmResponse>
from_wire
fn from_wire(value: AnnotatedLlmResponse) -> Result<Self>
impl WireValue<BaseEvent> for BaseEvent
impl WireValue<BaseEvent> for BaseEvent
to_wire
fn to_wire(self) -> Result<BaseEvent>
from_wire
fn from_wire(value: BaseEvent) -> Result<Self>
impl WireValue<CacheWriteTokenCounts> for CacheWriteTokenCounts
impl WireValue<CacheWriteTokenCounts> for CacheWriteTokenCounts
to_wire
fn to_wire(self) -> Result<CacheWriteTokenCounts>
from_wire
fn from_wire(value: CacheWriteTokenCounts) -> Result<Self>
impl WireValue<CacheWriteTokenCountsList> for Vec<CacheWriteTokenCounts>
impl WireValue<CacheWriteTokenCountsList> for Vec<CacheWriteTokenCounts>
to_wire
fn to_wire(self) -> Result<CacheWriteTokenCountsList>
from_wire
fn from_wire(value: CacheWriteTokenCountsList) -> Result<Self>
impl WireValue<CategoryProfile> for CategoryProfile
impl WireValue<CategoryProfile> for CategoryProfile
to_wire
fn to_wire(self) -> Result<CategoryProfile>
from_wire
fn from_wire(value: CategoryProfile) -> Result<Self>
impl WireValue<ComponentMemoryFootprint> for ComponentMemoryFootprint
impl WireValue<ComponentMemoryFootprint> for ComponentMemoryFootprint
to_wire
fn to_wire(self) -> Result<ComponentMemoryFootprint>
from_wire
fn from_wire(value: ComponentMemoryFootprint) -> Result<Self>
impl WireValue<ComponentMemoryUsage> for ComponentMemoryUsage
impl WireValue<ComponentMemoryUsage> for ComponentMemoryUsage
to_wire
fn to_wire(self) -> Result<ComponentMemoryUsage>
from_wire
fn from_wire(value: ComponentMemoryUsage) -> Result<Self>
impl WireValue<ConfigDiagnostic> for ConfigDiagnostic
impl WireValue<ConfigDiagnostic> for ConfigDiagnostic
to_wire
fn to_wire(self) -> Result<ConfigDiagnostic>
from_wire
fn from_wire(value: ConfigDiagnostic) -> Result<Self>
impl WireValue<ContentPart> for ContentPart
impl WireValue<ContentPart> for ContentPart
to_wire
fn to_wire(self) -> Result<ContentPart>
from_wire
fn from_wire(value: ContentPart) -> Result<Self>
impl WireValue<ContentPartList> for Vec<ContentPart>
impl WireValue<ContentPartList> for Vec<ContentPart>
to_wire
fn to_wire(self) -> Result<ContentPartList>
from_wire
fn from_wire(value: ContentPartList) -> Result<Self>
impl WireValue<CostEstimate> for CostEstimate
impl WireValue<CostEstimate> for CostEstimate
to_wire
fn to_wire(self) -> Result<CostEstimate>
from_wire
fn from_wire(value: CostEstimate) -> Result<Self>
impl WireValue<DataSchema> for DataSchema
impl WireValue<DataSchema> for DataSchema
to_wire
fn to_wire(self) -> Result<DataSchema>
from_wire
fn from_wire(value: DataSchema) -> Result<Self>
impl WireValue<DiagnosticCapability> for DiagnosticCapability
impl WireValue<DiagnosticCapability> for DiagnosticCapability
to_wire
fn to_wire(self) -> Result<DiagnosticCapability>
from_wire
fn from_wire(value: DiagnosticCapability) -> Result<Self>
impl WireValue<DiagnosticClassification> for Classification
impl WireValue<DiagnosticClassification> for Classification
to_wire
fn to_wire(self) -> Result<DiagnosticClassification>
from_wire
fn from_wire(value: DiagnosticClassification) -> Result<Self>
impl WireValue<DiagnosticComponentIdentity> for ComponentIdentity
impl WireValue<DiagnosticComponentIdentity> for ComponentIdentity
to_wire
fn to_wire(self) -> Result<DiagnosticComponentIdentity>
from_wire
fn from_wire(value: DiagnosticComponentIdentity) -> Result<Self>
impl WireValue<DiagnosticComponentOwnership> for ComponentOwnership
impl WireValue<DiagnosticComponentOwnership> for ComponentOwnership
to_wire
fn to_wire(self) -> Result<DiagnosticComponentOwnership>
from_wire
fn from_wire(value: DiagnosticComponentOwnership) -> Result<Self>
impl WireValue<DiagnosticComponentSnapshot> for ComponentSnapshot
impl WireValue<DiagnosticComponentSnapshot> for ComponentSnapshot
to_wire
fn to_wire(self) -> Result<DiagnosticComponentSnapshot>
from_wire
fn from_wire(value: DiagnosticComponentSnapshot) -> Result<Self>
impl WireValue<DiagnosticCount> for DiagnosticCount
impl WireValue<DiagnosticCount> for DiagnosticCount
to_wire
fn to_wire(self) -> Result<DiagnosticCount>
from_wire
fn from_wire(value: DiagnosticCount) -> Result<Self>
impl WireValue<DiagnosticCounter> for DiagnosticCounter
impl WireValue<DiagnosticCounter> for DiagnosticCounter
to_wire
fn to_wire(self) -> Result<DiagnosticCounter>
from_wire
fn from_wire(value: DiagnosticCounter) -> Result<Self>
impl WireValue<DiagnosticCoverage> for DiagnosticCoverage
impl WireValue<DiagnosticCoverage> for DiagnosticCoverage
to_wire
fn to_wire(self) -> Result<DiagnosticCoverage>
from_wire
fn from_wire(value: DiagnosticCoverage) -> Result<Self>
impl WireValue<DiagnosticCursor> for DiagnosticCursor
impl WireValue<DiagnosticCursor> for DiagnosticCursor
to_wire
fn to_wire(self) -> Result<DiagnosticCursor>
from_wire
fn from_wire(value: DiagnosticCursor) -> Result<Self>
impl WireValue<DiagnosticDetail> for DiagnosticDetail
impl WireValue<DiagnosticDetail> for DiagnosticDetail
to_wire
fn to_wire(self) -> Result<DiagnosticDetail>
from_wire
fn from_wire(value: DiagnosticDetail) -> Result<Self>
impl WireValue<DiagnosticDiscovery> for DiagnosticDiscovery
impl WireValue<DiagnosticDiscovery> for DiagnosticDiscovery
to_wire
fn to_wire(self) -> Result<DiagnosticDiscovery>
from_wire
fn from_wire(value: DiagnosticDiscovery) -> Result<Self>
impl WireValue<DiagnosticEvent> for DiagnosticEvent
impl WireValue<DiagnosticEvent> for DiagnosticEvent
to_wire
fn to_wire(self) -> Result<DiagnosticEvent>
from_wire
fn from_wire(value: DiagnosticEvent) -> Result<Self>
impl WireValue<DiagnosticLifetimeSummary> for DiagnosticLifetimeSummary
impl WireValue<DiagnosticLifetimeSummary> for DiagnosticLifetimeSummary
to_wire
fn to_wire(self) -> Result<DiagnosticLifetimeSummary>
from_wire
fn from_wire(value: DiagnosticLifetimeSummary) -> Result<Self>
impl WireValue<DiagnosticLoss> for DiagnosticLoss
impl WireValue<DiagnosticLoss> for DiagnosticLoss
to_wire
fn to_wire(self) -> Result<DiagnosticLoss>
from_wire
fn from_wire(value: DiagnosticLoss) -> Result<Self>
impl WireValue<DiagnosticMemoryPage> for DiagnosticMemoryPage
impl WireValue<DiagnosticMemoryPage> for DiagnosticMemoryPage
to_wire
fn to_wire(self) -> Result<DiagnosticMemoryPage>
from_wire
fn from_wire(value: DiagnosticMemoryPage) -> Result<Self>
impl WireValue<DiagnosticMemoryUsage> for DiagnosticMemoryUsage
impl WireValue<DiagnosticMemoryUsage> for DiagnosticMemoryUsage
to_wire
fn to_wire(self) -> Result<DiagnosticMemoryUsage>
from_wire
fn from_wire(value: DiagnosticMemoryUsage) -> Result<Self>
impl WireValue<DiagnosticOrigin> for DiagnosticOrigin
impl WireValue<DiagnosticOrigin> for DiagnosticOrigin
to_wire
fn to_wire(self) -> Result<DiagnosticOrigin>
from_wire
fn from_wire(value: DiagnosticOrigin) -> Result<Self>
impl WireValue<DiagnosticPluginContext> for PluginObservationContext
impl WireValue<DiagnosticPluginContext> for PluginObservationContext
to_wire
fn to_wire(self) -> Result<DiagnosticPluginContext>
from_wire
fn from_wire(value: DiagnosticPluginContext) -> Result<Self>
impl WireValue<DiagnosticProducerSupport> for DiagnosticProducerSupport
impl WireValue<DiagnosticProducerSupport> for DiagnosticProducerSupport
to_wire
fn to_wire(self) -> Result<DiagnosticProducerSupport>
from_wire
fn from_wire(value: DiagnosticProducerSupport) -> Result<Self>
impl WireValue<DiagnosticQuery> for DiagnosticQuery
impl WireValue<DiagnosticQuery> for DiagnosticQuery
to_wire
fn to_wire(self) -> Result<DiagnosticQuery>
from_wire
fn from_wire(value: DiagnosticQuery) -> Result<Self>
impl WireValue<DiagnosticRefreshSummary> for DiagnosticRefreshSummary
impl WireValue<DiagnosticRefreshSummary> for DiagnosticRefreshSummary
to_wire
fn to_wire(self) -> Result<DiagnosticRefreshSummary>
from_wire
fn from_wire(value: DiagnosticRefreshSummary) -> Result<Self>
impl WireValue<DiagnosticRetention> for DiagnosticRetention
impl WireValue<DiagnosticRetention> for DiagnosticRetention
to_wire
fn to_wire(self) -> Result<DiagnosticRetention>
from_wire
fn from_wire(value: DiagnosticRetention) -> Result<Self>
impl WireValue<DiagnosticSnapshot> for DiagnosticSnapshot
impl WireValue<DiagnosticSnapshot> for DiagnosticSnapshot
to_wire
fn to_wire(self) -> Result<DiagnosticSnapshot>
from_wire
fn from_wire(value: DiagnosticSnapshot) -> Result<Self>
impl WireValue<DiagnosticSourceIdentity> for SourceIdentity
impl WireValue<DiagnosticSourceIdentity> for SourceIdentity
to_wire
fn to_wire(self) -> Result<DiagnosticSourceIdentity>
from_wire
fn from_wire(value: DiagnosticSourceIdentity) -> Result<Self>
impl WireValue<DiagnosticTotals> for DiagnosticTotals
impl WireValue<DiagnosticTotals> for DiagnosticTotals
to_wire
fn to_wire(self) -> Result<DiagnosticTotals>
from_wire
fn from_wire(value: DiagnosticTotals) -> Result<Self>
impl WireValue<DiagnosticWindow> for DiagnosticWindow
impl WireValue<DiagnosticWindow> for DiagnosticWindow
to_wire
fn to_wire(self) -> Result<DiagnosticWindow>
from_wire
fn from_wire(value: DiagnosticWindow) -> Result<Self>
impl WireValue<DiagnosticWindowBucket> for DiagnosticWindowBucket
impl WireValue<DiagnosticWindowBucket> for DiagnosticWindowBucket
to_wire
fn to_wire(self) -> Result<DiagnosticWindowBucket>
from_wire
fn from_wire(value: DiagnosticWindowBucket) -> Result<Self>
impl WireValue<DiagnosticWindowCoverage> for DiagnosticWindowCoverage
impl WireValue<DiagnosticWindowCoverage> for DiagnosticWindowCoverage
to_wire
fn to_wire(self) -> Result<DiagnosticWindowCoverage>
from_wire
fn from_wire(value: DiagnosticWindowCoverage) -> Result<Self>
impl WireValue<EntryMemoryFootprint> for EntryMemoryFootprint
impl WireValue<EntryMemoryFootprint> for EntryMemoryFootprint
to_wire
fn to_wire(self) -> Result<EntryMemoryFootprint>
from_wire
fn from_wire(value: EntryMemoryFootprint) -> Result<Self>
impl WireValue<EntryMemoryUsage> for EntryMemoryUsage
impl WireValue<EntryMemoryUsage> for EntryMemoryUsage
to_wire
fn to_wire(self) -> Result<EntryMemoryUsage>
from_wire
fn from_wire(value: EntryMemoryUsage) -> Result<Self>
impl WireValue<Event> for Event
impl WireValue<Event> for Event
to_wire
fn to_wire(self) -> Result<Event>
from_wire
fn from_wire(value: Event) -> Result<Self>
impl WireValue<EventSanitizeFields> for EventSanitizeFields
impl WireValue<EventSanitizeFields> for EventSanitizeFields
to_wire
fn to_wire(self) -> Result<EventSanitizeFields>
from_wire
fn from_wire(value: EventSanitizeFields) -> Result<Self>
impl WireValue<FinishReason> for FinishReason
impl WireValue<FinishReason> for FinishReason
to_wire
fn to_wire(self) -> Result<FinishReason>
from_wire
fn from_wire(value: FinishReason) -> Result<Self>
impl WireValue<FunctionCall> for FunctionCall
impl WireValue<FunctionCall> for FunctionCall
to_wire
fn to_wire(self) -> Result<FunctionCall>
from_wire
fn from_wire(value: FunctionCall) -> Result<Self>
impl WireValue<FunctionDefinition> for FunctionDefinition
impl WireValue<FunctionDefinition> for FunctionDefinition
to_wire
fn to_wire(self) -> Result<FunctionDefinition>
from_wire
fn from_wire(value: FunctionDefinition) -> Result<Self>
impl WireValue<GenerationParams> for GenerationParams
impl WireValue<GenerationParams> for GenerationParams
to_wire
fn to_wire(self) -> Result<GenerationParams>
from_wire
fn from_wire(value: GenerationParams) -> Result<Self>
impl WireValue<ImageUrl> for OpenAiImageUrl
impl WireValue<ImageUrl> for OpenAiImageUrl
to_wire
fn to_wire(self) -> Result<ImageUrl>
from_wire
fn from_wire(value: ImageUrl) -> Result<Self>
impl WireValue<JsonArray> for Vec<Json>
impl WireValue<JsonArray> for Vec<Json>
to_wire
fn to_wire(self) -> Result<JsonArray>
from_wire
fn from_wire(value: JsonArray) -> Result<Self>
impl WireValue<JsonArray> for Json
impl WireValue<JsonArray> for Json
to_wire
fn to_wire(self) -> Result<JsonArray>
from_wire
fn from_wire(value: JsonArray) -> Result<Self>
impl WireValue<JsonObject> for BTreeMap<String, Json>
impl WireValue<JsonObject> for BTreeMap<String, Json>
to_wire
fn to_wire(self) -> Result<JsonObject>
from_wire
fn from_wire(value: JsonObject) -> Result<Self>
impl WireValue<JsonObject> for Map<String, Json>
impl WireValue<JsonObject> for Map<String, Json>
to_wire
fn to_wire(self) -> Result<JsonObject>
from_wire
fn from_wire(value: JsonObject) -> Result<Self>
impl WireValue<JsonObject> for Json
impl WireValue<JsonObject> for Json
to_wire
fn to_wire(self) -> Result<JsonObject>
from_wire
fn from_wire(value: JsonObject) -> Result<Self>
impl WireValue<JsonValue> for ApiSpecificRequest
impl WireValue<JsonValue> for ApiSpecificRequest
to_wire
fn to_wire(self) -> Result<JsonValue>
from_wire
fn from_wire(value: JsonValue) -> Result<Self>
impl WireValue<JsonValue> for ApiSpecificResponse
impl WireValue<JsonValue> for ApiSpecificResponse
to_wire
fn to_wire(self) -> Result<JsonValue>
from_wire
fn from_wire(value: JsonValue) -> Result<Self>
impl WireValue<JsonValue> for Json
impl WireValue<JsonValue> for Json
to_wire
fn to_wire(self) -> Result<JsonValue>
from_wire
fn from_wire(value: JsonValue) -> Result<Self>
impl WireValue<LlmCodecReference> for LlmCodecIdentity
impl WireValue<LlmCodecReference> for LlmCodecIdentity
to_wire
fn to_wire(self) -> Result<LlmCodecReference>
from_wire
fn from_wire(value: LlmCodecReference) -> Result<Self>
impl WireValue<LlmMessage> for Message
impl WireValue<LlmMessage> for Message
to_wire
fn to_wire(self) -> Result<LlmMessage>
from_wire
fn from_wire(value: LlmMessage) -> Result<Self>
impl WireValue<LlmOptimizationContribution> for LlmOptimizationContribution
impl WireValue<LlmOptimizationContribution> for LlmOptimizationContribution
to_wire
fn to_wire(self) -> Result<LlmOptimizationContribution>
from_wire
fn from_wire(value: LlmOptimizationContribution) -> Result<Self>
impl WireValue<LlmOptimizationModel> for LlmOptimizationModel
impl WireValue<LlmOptimizationModel> for LlmOptimizationModel
to_wire
fn to_wire(self) -> Result<LlmOptimizationModel>
from_wire
fn from_wire(value: LlmOptimizationModel) -> Result<Self>
impl WireValue<LlmOptimizationModelTransition> for LlmOptimizationModelTransition
impl WireValue<LlmOptimizationModelTransition> for LlmOptimizationModelTransition
to_wire
fn to_wire(self) -> Result<LlmOptimizationModelTransition>
from_wire
fn from_wire(value: LlmOptimizationModelTransition) -> Result<Self>
impl WireValue<LlmOptimizationSummary> for LlmOptimizationSummary
impl WireValue<LlmOptimizationSummary> for LlmOptimizationSummary
to_wire
fn to_wire(self) -> Result<LlmOptimizationSummary>
from_wire
fn from_wire(value: LlmOptimizationSummary) -> Result<Self>
impl WireValue<LlmOptimizationTokenImpact> for LlmOptimizationTokenImpact
impl WireValue<LlmOptimizationTokenImpact> for LlmOptimizationTokenImpact
to_wire
fn to_wire(self) -> Result<LlmOptimizationTokenImpact>
from_wire
fn from_wire(value: LlmOptimizationTokenImpact) -> Result<Self>
impl WireValue<LlmOptimizationTokens> for LlmOptimizationTokens
impl WireValue<LlmOptimizationTokens> for LlmOptimizationTokens
to_wire
fn to_wire(self) -> Result<LlmOptimizationTokens>
from_wire
fn from_wire(value: LlmOptimizationTokens) -> Result<Self>
impl WireValue<LlmRequest> for LlmRequest
impl WireValue<LlmRequest> for LlmRequest
to_wire
fn to_wire(self) -> Result<LlmRequest>
from_wire
fn from_wire(value: LlmRequest) -> Result<Self>
impl WireValue<LlmRequestInterceptOutcome> for LlmRequestInterceptOutcome
impl WireValue<LlmRequestInterceptOutcome> for LlmRequestInterceptOutcome
to_wire
fn to_wire(self) -> Result<LlmRequestInterceptOutcome>
from_wire
fn from_wire(value: LlmRequestInterceptOutcome) -> Result<Self>
impl WireValue<MarkEvent> for MarkEvent
impl WireValue<MarkEvent> for MarkEvent
to_wire
fn to_wire(self) -> Result<MarkEvent>
from_wire
fn from_wire(value: MarkEvent) -> Result<Self>
impl WireValue<MemoryLimitEvent> for MemoryLimitEvent
impl WireValue<MemoryLimitEvent> for MemoryLimitEvent
to_wire
fn to_wire(self) -> Result<MemoryLimitEvent>
from_wire
fn from_wire(value: MemoryLimitEvent) -> Result<Self>
impl WireValue<MemoryLimitEventSlot> for Option<MemoryLimitEvent>
impl WireValue<MemoryLimitEventSlot> for Option<MemoryLimitEvent>
to_wire
fn to_wire(self) -> Result<MemoryLimitEventSlot>
from_wire
fn from_wire(value: MemoryLimitEventSlot) -> Result<Self>
impl WireValue<MemorySelectionTotals> for MemorySelectionTotals
impl WireValue<MemorySelectionTotals> for MemorySelectionTotals
to_wire
fn to_wire(self) -> Result<MemorySelectionTotals>
from_wire
fn from_wire(value: MemorySelectionTotals) -> Result<Self>
impl WireValue<MessageContent> for MessageContent
impl WireValue<MessageContent> for MessageContent
to_wire
fn to_wire(self) -> Result<MessageContent>
from_wire
fn from_wire(value: MessageContent) -> Result<Self>
impl WireValue<PendingMarkSpec> for PendingMarkSpec
impl WireValue<PendingMarkSpec> for PendingMarkSpec
to_wire
fn to_wire(self) -> Result<PendingMarkSpec>
from_wire
fn from_wire(value: PendingMarkSpec) -> Result<Self>
impl WireValue<ProviderNativeComponent> for ProviderNativeComponent
impl WireValue<ProviderNativeComponent> for ProviderNativeComponent
to_wire
fn to_wire(self) -> Result<ProviderNativeComponent>
from_wire
fn from_wire(value: ProviderNativeComponent) -> Result<Self>
impl WireValue<RemoteDiagnosticOrigin> for RemoteDiagnosticOrigin
impl WireValue<RemoteDiagnosticOrigin> for RemoteDiagnosticOrigin
to_wire
fn to_wire(self) -> Result<RemoteDiagnosticOrigin>
from_wire
fn from_wire(value: RemoteDiagnosticOrigin) -> Result<Self>
impl WireValue<ResourceMemoryMeasurement> for ResourceMemoryMeasurement
impl WireValue<ResourceMemoryMeasurement> for ResourceMemoryMeasurement
to_wire
fn to_wire(self) -> Result<ResourceMemoryMeasurement>
from_wire
fn from_wire(value: ResourceMemoryMeasurement) -> Result<Self>
impl WireValue<ResourceMemoryMetrics> for ResourceMemoryMetrics
impl WireValue<ResourceMemoryMetrics> for ResourceMemoryMetrics
to_wire
fn to_wire(self) -> Result<ResourceMemoryMetrics>
from_wire
fn from_wire(value: ResourceMemoryMetrics) -> Result<Self>
impl WireValue<ResourceMemoryNumber> for ResourceMemoryNumber
impl WireValue<ResourceMemoryNumber> for ResourceMemoryNumber
to_wire
fn to_wire(self) -> Result<ResourceMemoryNumber>
from_wire
fn from_wire(value: ResourceMemoryNumber) -> Result<Self>
impl WireValue<ResourceMemorySample> for ResourceMemorySample
impl WireValue<ResourceMemorySample> for ResourceMemorySample
to_wire
fn to_wire(self) -> Result<ResourceMemorySample>
from_wire
fn from_wire(value: ResourceMemorySample) -> Result<Self>
impl WireValue<ResourceMemoryUnit> for ResourceMemoryUnit
impl WireValue<ResourceMemoryUnit> for ResourceMemoryUnit
to_wire
fn to_wire(self) -> Result<ResourceMemoryUnit>
from_wire
fn from_wire(value: ResourceMemoryUnit) -> Result<Self>
impl WireValue<ResourceMemoryView> for ResourceMemoryView
impl WireValue<ResourceMemoryView> for ResourceMemoryView
to_wire
fn to_wire(self) -> Result<ResourceMemoryView>
from_wire
fn from_wire(value: ResourceMemoryView) -> Result<Self>
impl WireValue<ResourceProcessIdentity> for ResourceProcessIdentity
impl WireValue<ResourceProcessIdentity> for ResourceProcessIdentity
to_wire
fn to_wire(self) -> Result<ResourceProcessIdentity>
from_wire
fn from_wire(value: ResourceProcessIdentity) -> Result<Self>
impl WireValue<ResponseToolCall> for ResponseToolCall
impl WireValue<ResponseToolCall> for ResponseToolCall
to_wire
fn to_wire(self) -> Result<ResponseToolCall>
from_wire
fn from_wire(value: ResponseToolCall) -> Result<Self>
impl WireValue<ResponseToolCallList> for Vec<ResponseToolCall>
impl WireValue<ResponseToolCallList> for Vec<ResponseToolCall>
to_wire
fn to_wire(self) -> Result<ResponseToolCallList>
from_wire
fn from_wire(value: ResponseToolCallList) -> Result<Self>
impl WireValue<RuntimeRegistrationIdentity> for RuntimeRegistrationIdentity
impl WireValue<RuntimeRegistrationIdentity> for RuntimeRegistrationIdentity
to_wire
fn to_wire(self) -> Result<RuntimeRegistrationIdentity>
from_wire
fn from_wire(value: RuntimeRegistrationIdentity) -> Result<Self>
impl WireValue<RuntimeRegistrationOwner> for RuntimeRegistrationOwner
impl WireValue<RuntimeRegistrationOwner> for RuntimeRegistrationOwner
to_wire
fn to_wire(self) -> Result<RuntimeRegistrationOwner>
from_wire
fn from_wire(value: RuntimeRegistrationOwner) -> Result<Self>
impl WireValue<ScopeEvent> for ScopeEvent
impl WireValue<ScopeEvent> for ScopeEvent
to_wire
fn to_wire(self) -> Result<ScopeEvent>
from_wire
fn from_wire(value: ScopeEvent) -> Result<Self>
impl WireValue<ScopeStackEntry> for ScopeStackEntry
impl WireValue<ScopeStackEntry> for ScopeStackEntry
to_wire
fn to_wire(self) -> Result<ScopeStackEntry>
from_wire
fn from_wire(value: ScopeStackEntry) -> Result<Self>
impl WireValue<ScopeStackSnapshot> for ScopeStackSnapshot
impl WireValue<ScopeStackSnapshot> for ScopeStackSnapshot
to_wire
fn to_wire(self) -> Result<ScopeStackSnapshot>
from_wire
fn from_wire(value: ScopeStackSnapshot) -> Result<Self>
impl WireValue<StringList> for Vec<String>
impl WireValue<StringList> for Vec<String>
to_wire
fn to_wire(self) -> Result<StringList>
from_wire
fn from_wire(value: StringList) -> Result<Self>
impl WireValue<ToolCall> for ToolCall
impl WireValue<ToolCall> for ToolCall
to_wire
fn to_wire(self) -> Result<ToolCall>
from_wire
fn from_wire(value: ToolCall) -> Result<Self>
impl WireValue<ToolCallList> for Vec<ToolCall>
impl WireValue<ToolCallList> for Vec<ToolCall>
to_wire
fn to_wire(self) -> Result<ToolCallList>
from_wire
fn from_wire(value: ToolCallList) -> Result<Self>
impl WireValue<ToolChoice> for ToolChoice
impl WireValue<ToolChoice> for ToolChoice
to_wire
fn to_wire(self) -> Result<ToolChoice>
from_wire
fn from_wire(value: ToolChoice) -> Result<Self>
impl WireValue<ToolChoiceFunction> for ToolChoiceFunction
impl WireValue<ToolChoiceFunction> for ToolChoiceFunction
to_wire
fn to_wire(self) -> Result<ToolChoiceFunction>
from_wire
fn from_wire(value: ToolChoiceFunction) -> Result<Self>
impl WireValue<ToolChoiceFunctionName> for ToolChoiceFunctionName
impl WireValue<ToolChoiceFunctionName> for ToolChoiceFunctionName
to_wire
fn to_wire(self) -> Result<ToolChoiceFunctionName>
from_wire
fn from_wire(value: ToolChoiceFunctionName) -> Result<Self>
impl WireValue<ToolDefinition> for ToolDefinition
impl WireValue<ToolDefinition> for ToolDefinition
to_wire
fn to_wire(self) -> Result<ToolDefinition>
from_wire
fn from_wire(value: ToolDefinition) -> Result<Self>
impl WireValue<ToolDefinitionList> for Vec<ToolDefinition>
impl WireValue<ToolDefinitionList> for Vec<ToolDefinition>
to_wire
fn to_wire(self) -> Result<ToolDefinitionList>
from_wire
fn from_wire(value: ToolDefinitionList) -> Result<Self>
impl WireValue<ToolExecutionInterceptOutcome> for ToolExecutionInterceptOutcome
impl WireValue<ToolExecutionInterceptOutcome> for ToolExecutionInterceptOutcome
to_wire
fn to_wire(self) -> Result<ToolExecutionInterceptOutcome>
from_wire
fn from_wire(value: ToolExecutionInterceptOutcome) -> Result<Self>
impl WireValue<ToolExecutionResult> for ToolExecutionResult
impl WireValue<ToolExecutionResult> for ToolExecutionResult
to_wire
fn to_wire(self) -> Result<ToolExecutionResult>
from_wire
fn from_wire(value: ToolExecutionResult) -> Result<Self>
impl WireValue<Usage> for Usage
impl WireValue<Usage> for Usage
to_wire
fn to_wire(self) -> Result<Usage>
from_wire
fn from_wire(value: Usage) -> Result<Self>
impl WireValue<Box<AnnotatedLlmRequest>> for AnnotatedLlmRequest
impl WireValue<Box<AnnotatedLlmRequest>> for AnnotatedLlmRequest
to_wire
fn to_wire(self) -> Result<Box<AnnotatedLlmRequest>>
from_wire
fn from_wire(value: Box<AnnotatedLlmRequest>) -> Result<Self>
impl WireValue<Box<AnnotatedLlmResponse>> for AnnotatedLlmResponse
impl WireValue<Box<AnnotatedLlmResponse>> for AnnotatedLlmResponse
to_wire
fn to_wire(self) -> Result<Box<AnnotatedLlmResponse>>
from_wire
fn from_wire(value: Box<AnnotatedLlmResponse>) -> Result<Self>
impl WireValue<Box<BaseEvent>> for BaseEvent
impl WireValue<Box<BaseEvent>> for BaseEvent
to_wire
fn to_wire(self) -> Result<Box<BaseEvent>>
from_wire
fn from_wire(value: Box<BaseEvent>) -> Result<Self>
impl WireValue<Box<CacheWriteTokenCounts>> for CacheWriteTokenCounts
impl WireValue<Box<CacheWriteTokenCounts>> for CacheWriteTokenCounts
to_wire
fn to_wire(self) -> Result<Box<CacheWriteTokenCounts>>
from_wire
fn from_wire(value: Box<CacheWriteTokenCounts>) -> Result<Self>
impl WireValue<Box<CategoryProfile>> for CategoryProfile
impl WireValue<Box<CategoryProfile>> for CategoryProfile
to_wire
fn to_wire(self) -> Result<Box<CategoryProfile>>
from_wire
fn from_wire(value: Box<CategoryProfile>) -> Result<Self>
impl WireValue<Box<ComponentMemoryFootprint>> for ComponentMemoryFootprint
impl WireValue<Box<ComponentMemoryFootprint>> for ComponentMemoryFootprint
to_wire
fn to_wire(self) -> Result<Box<ComponentMemoryFootprint>>
from_wire
fn from_wire(value: Box<ComponentMemoryFootprint>) -> Result<Self>
impl WireValue<Box<ComponentMemoryUsage>> for ComponentMemoryUsage
impl WireValue<Box<ComponentMemoryUsage>> for ComponentMemoryUsage
to_wire
fn to_wire(self) -> Result<Box<ComponentMemoryUsage>>
from_wire
fn from_wire(value: Box<ComponentMemoryUsage>) -> Result<Self>
impl WireValue<Box<ConfigDiagnostic>> for ConfigDiagnostic
impl WireValue<Box<ConfigDiagnostic>> for ConfigDiagnostic
to_wire
fn to_wire(self) -> Result<Box<ConfigDiagnostic>>
from_wire
fn from_wire(value: Box<ConfigDiagnostic>) -> Result<Self>
impl WireValue<Box<CostEstimate>> for CostEstimate
impl WireValue<Box<CostEstimate>> for CostEstimate
to_wire
fn to_wire(self) -> Result<Box<CostEstimate>>
from_wire
fn from_wire(value: Box<CostEstimate>) -> Result<Self>
impl WireValue<Box<DataSchema>> for DataSchema
impl WireValue<Box<DataSchema>> for DataSchema
to_wire
fn to_wire(self) -> Result<Box<DataSchema>>
from_wire
fn from_wire(value: Box<DataSchema>) -> Result<Self>
impl WireValue<Box<DiagnosticCapability>> for DiagnosticCapability
impl WireValue<Box<DiagnosticCapability>> for DiagnosticCapability
to_wire
fn to_wire(self) -> Result<Box<DiagnosticCapability>>
from_wire
fn from_wire(value: Box<DiagnosticCapability>) -> Result<Self>
impl WireValue<Box<DiagnosticComponentIdentity>> for ComponentIdentity
impl WireValue<Box<DiagnosticComponentIdentity>> for ComponentIdentity
to_wire
fn to_wire(self) -> Result<Box<DiagnosticComponentIdentity>>
from_wire
fn from_wire(value: Box<DiagnosticComponentIdentity>) -> Result<Self>
impl WireValue<Box<DiagnosticComponentOwnership>> for ComponentOwnership
impl WireValue<Box<DiagnosticComponentOwnership>> for ComponentOwnership
to_wire
fn to_wire(self) -> Result<Box<DiagnosticComponentOwnership>>
from_wire
fn from_wire(value: Box<DiagnosticComponentOwnership>) -> Result<Self>
impl WireValue<Box<DiagnosticComponentSnapshot>> for ComponentSnapshot
impl WireValue<Box<DiagnosticComponentSnapshot>> for ComponentSnapshot
to_wire
fn to_wire(self) -> Result<Box<DiagnosticComponentSnapshot>>
from_wire
fn from_wire(value: Box<DiagnosticComponentSnapshot>) -> Result<Self>
impl WireValue<Box<DiagnosticCount>> for DiagnosticCount
impl WireValue<Box<DiagnosticCount>> for DiagnosticCount
to_wire
fn to_wire(self) -> Result<Box<DiagnosticCount>>
from_wire
fn from_wire(value: Box<DiagnosticCount>) -> Result<Self>
impl WireValue<Box<DiagnosticCounter>> for DiagnosticCounter
impl WireValue<Box<DiagnosticCounter>> for DiagnosticCounter
to_wire
fn to_wire(self) -> Result<Box<DiagnosticCounter>>
from_wire
fn from_wire(value: Box<DiagnosticCounter>) -> Result<Self>
impl WireValue<Box<DiagnosticCoverage>> for DiagnosticCoverage
impl WireValue<Box<DiagnosticCoverage>> for DiagnosticCoverage
to_wire
fn to_wire(self) -> Result<Box<DiagnosticCoverage>>
from_wire
fn from_wire(value: Box<DiagnosticCoverage>) -> Result<Self>
impl WireValue<Box<DiagnosticCursor>> for DiagnosticCursor
impl WireValue<Box<DiagnosticCursor>> for DiagnosticCursor
to_wire
fn to_wire(self) -> Result<Box<DiagnosticCursor>>
from_wire
fn from_wire(value: Box<DiagnosticCursor>) -> Result<Self>
impl WireValue<Box<DiagnosticDetail>> for DiagnosticDetail
impl WireValue<Box<DiagnosticDetail>> for DiagnosticDetail
to_wire
fn to_wire(self) -> Result<Box<DiagnosticDetail>>
from_wire
fn from_wire(value: Box<DiagnosticDetail>) -> Result<Self>
impl WireValue<Box<DiagnosticDiscovery>> for DiagnosticDiscovery
impl WireValue<Box<DiagnosticDiscovery>> for DiagnosticDiscovery
to_wire
fn to_wire(self) -> Result<Box<DiagnosticDiscovery>>
from_wire
fn from_wire(value: Box<DiagnosticDiscovery>) -> Result<Self>
impl WireValue<Box<DiagnosticEvent>> for DiagnosticEvent
impl WireValue<Box<DiagnosticEvent>> for DiagnosticEvent
to_wire
fn to_wire(self) -> Result<Box<DiagnosticEvent>>
from_wire
fn from_wire(value: Box<DiagnosticEvent>) -> Result<Self>
impl WireValue<Box<DiagnosticLifetimeSummary>> for DiagnosticLifetimeSummary
impl WireValue<Box<DiagnosticLifetimeSummary>> for DiagnosticLifetimeSummary
to_wire
fn to_wire(self) -> Result<Box<DiagnosticLifetimeSummary>>
from_wire
fn from_wire(value: Box<DiagnosticLifetimeSummary>) -> Result<Self>
impl WireValue<Box<DiagnosticLoss>> for DiagnosticLoss
impl WireValue<Box<DiagnosticLoss>> for DiagnosticLoss
to_wire
fn to_wire(self) -> Result<Box<DiagnosticLoss>>
from_wire
fn from_wire(value: Box<DiagnosticLoss>) -> Result<Self>
impl WireValue<Box<DiagnosticMemoryPage>> for DiagnosticMemoryPage
impl WireValue<Box<DiagnosticMemoryPage>> for DiagnosticMemoryPage
to_wire
fn to_wire(self) -> Result<Box<DiagnosticMemoryPage>>
from_wire
fn from_wire(value: Box<DiagnosticMemoryPage>) -> Result<Self>
impl WireValue<Box<DiagnosticMemoryUsage>> for DiagnosticMemoryUsage
impl WireValue<Box<DiagnosticMemoryUsage>> for DiagnosticMemoryUsage
to_wire
fn to_wire(self) -> Result<Box<DiagnosticMemoryUsage>>
from_wire
fn from_wire(value: Box<DiagnosticMemoryUsage>) -> Result<Self>
impl WireValue<Box<DiagnosticOrigin>> for DiagnosticOrigin
impl WireValue<Box<DiagnosticOrigin>> for DiagnosticOrigin
to_wire
fn to_wire(self) -> Result<Box<DiagnosticOrigin>>
from_wire
fn from_wire(value: Box<DiagnosticOrigin>) -> Result<Self>
impl WireValue<Box<DiagnosticPluginContext>> for PluginObservationContext
impl WireValue<Box<DiagnosticPluginContext>> for PluginObservationContext
to_wire
fn to_wire(self) -> Result<Box<DiagnosticPluginContext>>
from_wire
fn from_wire(value: Box<DiagnosticPluginContext>) -> Result<Self>
impl WireValue<Box<DiagnosticProducerSupport>> for DiagnosticProducerSupport
impl WireValue<Box<DiagnosticProducerSupport>> for DiagnosticProducerSupport
to_wire
fn to_wire(self) -> Result<Box<DiagnosticProducerSupport>>
from_wire
fn from_wire(value: Box<DiagnosticProducerSupport>) -> Result<Self>
impl WireValue<Box<DiagnosticQuery>> for DiagnosticQuery
impl WireValue<Box<DiagnosticQuery>> for DiagnosticQuery
to_wire
fn to_wire(self) -> Result<Box<DiagnosticQuery>>
from_wire
fn from_wire(value: Box<DiagnosticQuery>) -> Result<Self>
impl WireValue<Box<DiagnosticRefreshSummary>> for DiagnosticRefreshSummary
impl WireValue<Box<DiagnosticRefreshSummary>> for DiagnosticRefreshSummary
to_wire
fn to_wire(self) -> Result<Box<DiagnosticRefreshSummary>>
from_wire
fn from_wire(value: Box<DiagnosticRefreshSummary>) -> Result<Self>
impl WireValue<Box<DiagnosticRetention>> for DiagnosticRetention
impl WireValue<Box<DiagnosticRetention>> for DiagnosticRetention
to_wire
fn to_wire(self) -> Result<Box<DiagnosticRetention>>
from_wire
fn from_wire(value: Box<DiagnosticRetention>) -> Result<Self>
impl WireValue<Box<DiagnosticSnapshot>> for DiagnosticSnapshot
impl WireValue<Box<DiagnosticSnapshot>> for DiagnosticSnapshot
to_wire
fn to_wire(self) -> Result<Box<DiagnosticSnapshot>>
from_wire
fn from_wire(value: Box<DiagnosticSnapshot>) -> Result<Self>
impl WireValue<Box<DiagnosticSourceIdentity>> for SourceIdentity
impl WireValue<Box<DiagnosticSourceIdentity>> for SourceIdentity
to_wire
fn to_wire(self) -> Result<Box<DiagnosticSourceIdentity>>
from_wire
fn from_wire(value: Box<DiagnosticSourceIdentity>) -> Result<Self>
impl WireValue<Box<DiagnosticTotals>> for DiagnosticTotals
impl WireValue<Box<DiagnosticTotals>> for DiagnosticTotals
to_wire
fn to_wire(self) -> Result<Box<DiagnosticTotals>>
from_wire
fn from_wire(value: Box<DiagnosticTotals>) -> Result<Self>
impl WireValue<Box<DiagnosticWindow>> for DiagnosticWindow
impl WireValue<Box<DiagnosticWindow>> for DiagnosticWindow
to_wire
fn to_wire(self) -> Result<Box<DiagnosticWindow>>
from_wire
fn from_wire(value: Box<DiagnosticWindow>) -> Result<Self>
impl WireValue<Box<DiagnosticWindowBucket>> for DiagnosticWindowBucket
impl WireValue<Box<DiagnosticWindowBucket>> for DiagnosticWindowBucket
to_wire
fn to_wire(self) -> Result<Box<DiagnosticWindowBucket>>
from_wire
fn from_wire(value: Box<DiagnosticWindowBucket>) -> Result<Self>
impl WireValue<Box<DiagnosticWindowCoverage>> for DiagnosticWindowCoverage
impl WireValue<Box<DiagnosticWindowCoverage>> for DiagnosticWindowCoverage
to_wire
fn to_wire(self) -> Result<Box<DiagnosticWindowCoverage>>
from_wire
fn from_wire(value: Box<DiagnosticWindowCoverage>) -> Result<Self>
impl WireValue<Box<EntryMemoryFootprint>> for EntryMemoryFootprint
impl WireValue<Box<EntryMemoryFootprint>> for EntryMemoryFootprint
to_wire
fn to_wire(self) -> Result<Box<EntryMemoryFootprint>>
from_wire
fn from_wire(value: Box<EntryMemoryFootprint>) -> Result<Self>
impl WireValue<Box<EntryMemoryUsage>> for EntryMemoryUsage
impl WireValue<Box<EntryMemoryUsage>> for EntryMemoryUsage
to_wire
fn to_wire(self) -> Result<Box<EntryMemoryUsage>>
from_wire
fn from_wire(value: Box<EntryMemoryUsage>) -> Result<Self>
impl WireValue<Box<EventSanitizeFields>> for EventSanitizeFields
impl WireValue<Box<EventSanitizeFields>> for EventSanitizeFields
to_wire
fn to_wire(self) -> Result<Box<EventSanitizeFields>>
from_wire
fn from_wire(value: Box<EventSanitizeFields>) -> Result<Self>
impl WireValue<Box<FunctionCall>> for FunctionCall
impl WireValue<Box<FunctionCall>> for FunctionCall
to_wire
fn to_wire(self) -> Result<Box<FunctionCall>>
from_wire
fn from_wire(value: Box<FunctionCall>) -> Result<Self>
impl WireValue<Box<FunctionDefinition>> for FunctionDefinition
impl WireValue<Box<FunctionDefinition>> for FunctionDefinition
to_wire
fn to_wire(self) -> Result<Box<FunctionDefinition>>
from_wire
fn from_wire(value: Box<FunctionDefinition>) -> Result<Self>
impl WireValue<Box<GenerationParams>> for GenerationParams
impl WireValue<Box<GenerationParams>> for GenerationParams
to_wire
fn to_wire(self) -> Result<Box<GenerationParams>>
from_wire
fn from_wire(value: Box<GenerationParams>) -> Result<Self>
impl WireValue<Box<ImageUrl>> for OpenAiImageUrl
impl WireValue<Box<ImageUrl>> for OpenAiImageUrl
to_wire
fn to_wire(self) -> Result<Box<ImageUrl>>
from_wire
fn from_wire(value: Box<ImageUrl>) -> Result<Self>
impl WireValue<Box<LlmOptimizationContribution>> for LlmOptimizationContribution
impl WireValue<Box<LlmOptimizationContribution>> for LlmOptimizationContribution
to_wire
fn to_wire(self) -> Result<Box<LlmOptimizationContribution>>
from_wire
fn from_wire(value: Box<LlmOptimizationContribution>) -> Result<Self>
impl WireValue<Box<LlmOptimizationModel>> for LlmOptimizationModel
impl WireValue<Box<LlmOptimizationModel>> for LlmOptimizationModel
to_wire
fn to_wire(self) -> Result<Box<LlmOptimizationModel>>
from_wire
fn from_wire(value: Box<LlmOptimizationModel>) -> Result<Self>
impl WireValue<Box<LlmOptimizationModelTransition>> for LlmOptimizationModelTransition
impl WireValue<Box<LlmOptimizationModelTransition>> for LlmOptimizationModelTransition
to_wire
fn to_wire(self) -> Result<Box<LlmOptimizationModelTransition>>
from_wire
fn from_wire(value: Box<LlmOptimizationModelTransition>) -> Result<Self>
impl WireValue<Box<LlmOptimizationSummary>> for LlmOptimizationSummary
impl WireValue<Box<LlmOptimizationSummary>> for LlmOptimizationSummary
to_wire
fn to_wire(self) -> Result<Box<LlmOptimizationSummary>>
from_wire
fn from_wire(value: Box<LlmOptimizationSummary>) -> Result<Self>
impl WireValue<Box<LlmOptimizationTokenImpact>> for LlmOptimizationTokenImpact
impl WireValue<Box<LlmOptimizationTokenImpact>> for LlmOptimizationTokenImpact
to_wire
fn to_wire(self) -> Result<Box<LlmOptimizationTokenImpact>>
from_wire
fn from_wire(value: Box<LlmOptimizationTokenImpact>) -> Result<Self>
impl WireValue<Box<LlmOptimizationTokens>> for LlmOptimizationTokens
impl WireValue<Box<LlmOptimizationTokens>> for LlmOptimizationTokens
to_wire
fn to_wire(self) -> Result<Box<LlmOptimizationTokens>>
from_wire
fn from_wire(value: Box<LlmOptimizationTokens>) -> Result<Self>
impl WireValue<Box<LlmRequest>> for LlmRequest
impl WireValue<Box<LlmRequest>> for LlmRequest
to_wire
fn to_wire(self) -> Result<Box<LlmRequest>>
from_wire
fn from_wire(value: Box<LlmRequest>) -> Result<Self>
impl WireValue<Box<LlmRequestInterceptOutcome>> for LlmRequestInterceptOutcome
impl WireValue<Box<LlmRequestInterceptOutcome>> for LlmRequestInterceptOutcome
to_wire
fn to_wire(self) -> Result<Box<LlmRequestInterceptOutcome>>
from_wire
fn from_wire(value: Box<LlmRequestInterceptOutcome>) -> Result<Self>
impl WireValue<Box<MarkEvent>> for MarkEvent
impl WireValue<Box<MarkEvent>> for MarkEvent
to_wire
fn to_wire(self) -> Result<Box<MarkEvent>>
from_wire
fn from_wire(value: Box<MarkEvent>) -> Result<Self>
impl WireValue<Box<MemoryLimitEvent>> for MemoryLimitEvent
impl WireValue<Box<MemoryLimitEvent>> for MemoryLimitEvent
to_wire
fn to_wire(self) -> Result<Box<MemoryLimitEvent>>
from_wire
fn from_wire(value: Box<MemoryLimitEvent>) -> Result<Self>
impl WireValue<Box<MemorySelectionTotals>> for MemorySelectionTotals
impl WireValue<Box<MemorySelectionTotals>> for MemorySelectionTotals
to_wire
fn to_wire(self) -> Result<Box<MemorySelectionTotals>>
from_wire
fn from_wire(value: Box<MemorySelectionTotals>) -> Result<Self>
impl WireValue<Box<PendingMarkSpec>> for PendingMarkSpec
impl WireValue<Box<PendingMarkSpec>> for PendingMarkSpec
to_wire
fn to_wire(self) -> Result<Box<PendingMarkSpec>>
from_wire
fn from_wire(value: Box<PendingMarkSpec>) -> Result<Self>
impl WireValue<Box<ProviderNativeComponent>> for ProviderNativeComponent
impl WireValue<Box<ProviderNativeComponent>> for ProviderNativeComponent
to_wire
fn to_wire(self) -> Result<Box<ProviderNativeComponent>>
from_wire
fn from_wire(value: Box<ProviderNativeComponent>) -> Result<Self>
impl WireValue<Box<RemoteDiagnosticOrigin>> for RemoteDiagnosticOrigin
impl WireValue<Box<RemoteDiagnosticOrigin>> for RemoteDiagnosticOrigin
to_wire
fn to_wire(self) -> Result<Box<RemoteDiagnosticOrigin>>
from_wire
fn from_wire(value: Box<RemoteDiagnosticOrigin>) -> Result<Self>
impl WireValue<Box<ResourceMemoryMeasurement>> for ResourceMemoryMeasurement
impl WireValue<Box<ResourceMemoryMeasurement>> for ResourceMemoryMeasurement
to_wire
fn to_wire(self) -> Result<Box<ResourceMemoryMeasurement>>
from_wire
fn from_wire(value: Box<ResourceMemoryMeasurement>) -> Result<Self>
impl WireValue<Box<ResourceMemoryMetrics>> for ResourceMemoryMetrics
impl WireValue<Box<ResourceMemoryMetrics>> for ResourceMemoryMetrics
to_wire
fn to_wire(self) -> Result<Box<ResourceMemoryMetrics>>
from_wire
fn from_wire(value: Box<ResourceMemoryMetrics>) -> Result<Self>
impl WireValue<Box<ResourceMemorySample>> for ResourceMemorySample
impl WireValue<Box<ResourceMemorySample>> for ResourceMemorySample
to_wire
fn to_wire(self) -> Result<Box<ResourceMemorySample>>
from_wire
fn from_wire(value: Box<ResourceMemorySample>) -> Result<Self>
impl WireValue<Box<ResourceMemoryView>> for ResourceMemoryView
impl WireValue<Box<ResourceMemoryView>> for ResourceMemoryView
to_wire
fn to_wire(self) -> Result<Box<ResourceMemoryView>>
from_wire
fn from_wire(value: Box<ResourceMemoryView>) -> Result<Self>
impl WireValue<Box<ResourceProcessIdentity>> for ResourceProcessIdentity
impl WireValue<Box<ResourceProcessIdentity>> for ResourceProcessIdentity
to_wire
fn to_wire(self) -> Result<Box<ResourceProcessIdentity>>
from_wire
fn from_wire(value: Box<ResourceProcessIdentity>) -> Result<Self>
impl WireValue<Box<ResponseToolCall>> for ResponseToolCall
impl WireValue<Box<ResponseToolCall>> for ResponseToolCall
to_wire
fn to_wire(self) -> Result<Box<ResponseToolCall>>
from_wire
fn from_wire(value: Box<ResponseToolCall>) -> Result<Self>
impl WireValue<Box<RuntimeRegistrationIdentity>> for RuntimeRegistrationIdentity
impl WireValue<Box<RuntimeRegistrationIdentity>> for RuntimeRegistrationIdentity
to_wire
fn to_wire(self) -> Result<Box<RuntimeRegistrationIdentity>>
from_wire
fn from_wire(value: Box<RuntimeRegistrationIdentity>) -> Result<Self>
impl WireValue<Box<ScopeEvent>> for ScopeEvent
impl WireValue<Box<ScopeEvent>> for ScopeEvent
to_wire
fn to_wire(self) -> Result<Box<ScopeEvent>>
from_wire
fn from_wire(value: Box<ScopeEvent>) -> Result<Self>
impl WireValue<Box<ScopeStackEntry>> for ScopeStackEntry
impl WireValue<Box<ScopeStackEntry>> for ScopeStackEntry
to_wire
fn to_wire(self) -> Result<Box<ScopeStackEntry>>
from_wire
fn from_wire(value: Box<ScopeStackEntry>) -> Result<Self>
impl WireValue<Box<ScopeStackSnapshot>> for ScopeStackSnapshot
impl WireValue<Box<ScopeStackSnapshot>> for ScopeStackSnapshot
to_wire
fn to_wire(self) -> Result<Box<ScopeStackSnapshot>>
from_wire
fn from_wire(value: Box<ScopeStackSnapshot>) -> Result<Self>
impl WireValue<Box<ToolCall>> for ToolCall
impl WireValue<Box<ToolCall>> for ToolCall
to_wire
fn to_wire(self) -> Result<Box<ToolCall>>
from_wire
fn from_wire(value: Box<ToolCall>) -> Result<Self>
impl WireValue<Box<ToolChoiceFunction>> for ToolChoiceFunction
impl WireValue<Box<ToolChoiceFunction>> for ToolChoiceFunction
to_wire
fn to_wire(self) -> Result<Box<ToolChoiceFunction>>
from_wire
fn from_wire(value: Box<ToolChoiceFunction>) -> Result<Self>
impl WireValue<Box<ToolChoiceFunctionName>> for ToolChoiceFunctionName
impl WireValue<Box<ToolChoiceFunctionName>> for ToolChoiceFunctionName
to_wire
fn to_wire(self) -> Result<Box<ToolChoiceFunctionName>>
from_wire
fn from_wire(value: Box<ToolChoiceFunctionName>) -> Result<Self>
impl WireValue<Box<ToolExecutionResult>> for ToolExecutionResult
impl WireValue<Box<ToolExecutionResult>> for ToolExecutionResult
to_wire
fn to_wire(self) -> Result<Box<ToolExecutionResult>>
from_wire
fn from_wire(value: Box<ToolExecutionResult>) -> Result<Self>
impl WireValue<Box<Usage>> for Usage
impl WireValue<Box<Usage>> for Usage
to_wire
fn to_wire(self) -> Result<Box<Usage>>
from_wire
fn from_wire(value: Box<Usage>) -> Result<Self>
impl WireValue<String> for String
impl WireValue<String> for String
to_wire
fn to_wire(self) -> Result<String>
from_wire
fn from_wire(value: String) -> Result<Self>
impl WireValue<String> for Uuid
impl WireValue<String> for Uuid
to_wire
fn to_wire(self) -> Result<String>
from_wire
fn from_wire(value: String) -> Result<Self>
impl WireValue<String> for EventCategory
impl WireValue<String> for EventCategory
to_wire
fn to_wire(self) -> Result<String>
from_wire
fn from_wire(value: String) -> Result<Self>
impl WireValue<String> for LlmOptimizationKind
impl WireValue<String> for LlmOptimizationKind
to_wire
fn to_wire(self) -> Result<String>
from_wire
fn from_wire(value: String) -> Result<Self>
impl WireValue<String> for PluginExecutionName
impl WireValue<String> for PluginExecutionName
to_wire
fn to_wire(self) -> Result<String>
from_wire
fn from_wire(value: String) -> Result<Self>
impl WireValue<String> for PluginPhaseName
impl WireValue<String> for PluginPhaseName
to_wire
fn to_wire(self) -> Result<String>
from_wire
fn from_wire(value: String) -> Result<Self>
impl WireValue<Timestamp> for DateTime<Utc>
impl WireValue<Timestamp> for DateTime<Utc>
to_wire
fn to_wire(self) -> Result<Timestamp>
from_wire
fn from_wire(value: Timestamp) -> Result<Self>
impl<'a> WireValue<DiagnosticCorrelation> for DiagnosticCorrelation<'a>
impl<'a> WireValue<DiagnosticCorrelation> for DiagnosticCorrelation<'a>
to_wire
fn to_wire(self) -> Result<DiagnosticCorrelation>
from_wire
fn from_wire(value: DiagnosticCorrelation) -> Result<Self>
impl<D: Clone + WireValue<W>, W> WireValue<W> for Arc<D>
impl<D: Clone + WireValue<W>, W> WireValue<W> for Arc<D>
to_wire
fn to_wire(self) -> Result<W>
from_wire
fn from_wire(value: W) -> Result<Self>