Skip to main content

NormalizedEvent

Enum NormalizedEvent 

Source
pub enum NormalizedEvent {
Show 34 variants RunStart { run_id: String, agent_id: String, }, ChatDelta { run_id: String, text_delta: String, }, ThinkingDelta { run_id: String, text_delta: String, }, ReasoningDelta { run_id: String, text_delta: String, }, Citation { run_id: String, sources: Vec<CitationSource>, }, RagCitations { run_id: String, citations: Vec<RagCitation>, }, MemoryRecall { run_id: String, items: Vec<MemoryItem>, }, SkillActivated { run_id: String, skill_id: String, title: String, selection_method: String, }, McpServerStateChanged { run_id: Option<String>, lifecycle: McpServerLifecycle, }, ToolStart { run_id: String, call_index: usize, tool_call_id: String, tool: String, input: Value, }, ToolDelta { run_id: String, call_index: usize, tool_call_id: String, delta: Value, }, ToolEnd { run_id: String, call_index: usize, tool_call_id: String, tool: String, output: Value, ok: bool, }, Artifact { run_id: String, artifact: ArtifactPayload, }, PresentationDiagnostic { run_id: String, code: String, message: String, }, Error { run_id: String, code: String, message: String, }, RunDone { run_id: String, }, Cancelled { run_id: String, }, SycophancyFlagged { run_id: String, sycophancy_score: f32, has_critical: bool, correction_mandatory: bool, classifications: Vec<SycophancyClassification>, }, SycophancyCorrected { run_id: String, corrected_text: String, }, GuardrailFlagged { run_id: Option<String>, category: String, reason: String, }, RuntimeStep { run_id: String, step: u32, kind: String, }, AgentThreadStarted { run_id: String, lifecycle: AgentLifecycle, }, AgentThreadUpdated { run_id: String, lifecycle: AgentLifecycle, }, AgentThreadFinished { run_id: String, lifecycle: AgentLifecycle, }, AgentThreadError { run_id: String, lifecycle: AgentLifecycle, }, StatePatch { run_id: String, patch: Vec<StatePatchOp>, }, ContextAction(ContextAction), BudgetAlert { run_id: String, scope: String, scope_id: String, spent_usd: f64, limit_usd: f64, exceeded: bool, }, MemoryMutation { run_id: String, operation: String, memory_id: String, content: String, scope: String, memory_type: String, }, ArtifactDisplay { run_id: String, artifact: ArtifactPayload, }, ArtifactInputRequest { run_id: String, artifact: ArtifactPayload, }, ToolCallApprovalRequired { run_id: String, approval_id: Option<String>, call_index: usize, tool_call_id: String, name: String, arguments_json: String, risk_reason: String, }, ToolCallDenied { run_id: String, call_index: usize, tool_call_id: String, name: String, reason: String, }, RunDoneWithUsage { run_id: String, input_tokens: Option<u32>, output_tokens: Option<u32>, total_tokens: Option<u32>, cost_usd_estimate: Option<f64>, model: Option<String>, },
}

Variants§

§

RunStart

Fields

§run_id: String
§agent_id: String
§

ChatDelta

Fields

§run_id: String
§text_delta: String
§

ThinkingDelta

Fields

§run_id: String
§text_delta: String
§

ReasoningDelta

Fields

§run_id: String
§text_delta: String
§

Citation

Fields

§run_id: String
§

RagCitations

Numbered citation markers ([1], [2], …) for a RAG-augmented run, each referencing one retrieved knowledge chunk. Emitted once retrieval completes and before the assistant’s response streams, so the client can resolve [n] markers that appear in the response text to a hover-to-source panel. Built by crate::uar::rag::citation_stream::CitationStream. Distinct from Self::Citation, which carries LLM-native web citations (URL sources) rather than RAG chunk citations.

Fields

§run_id: String
§citations: Vec<RagCitation>
§

MemoryRecall

Fields

§run_id: String
§

SkillActivated

Fields

§run_id: String
§skill_id: String
§title: String
§selection_method: String
§

McpServerStateChanged

Host-owned MCP binding state; a binding may outlive an individual run.

Fields

§run_id: Option<String>
§

ToolStart

Fields

§run_id: String
§call_index: usize
§tool_call_id: String
§tool: String
§input: Value
§

ToolDelta

Fields

§run_id: String
§call_index: usize
§tool_call_id: String
§delta: Value
§

ToolEnd

Fields

§run_id: String
§call_index: usize
§tool_call_id: String
§tool: String
§output: Value
§ok: bool
§

Artifact

Fields

§run_id: String
§

PresentationDiagnostic

A surface was rejected without terminating the readable-text run. This is a host diagnostic, not a successful publication receipt.

Fields

§run_id: String
§code: String
§message: String
§

Error

Fields

§run_id: String
§code: String
§message: String
§

RunDone

Fields

§run_id: String
§

Cancelled

A run was cancelled — explicitly via the cancel endpoint, by the last SSE subscriber disconnecting, or by server shutdown. Terminal, distinct from RunDone (normal completion) and Error (failure).

Fields

§run_id: String
§

SycophancyFlagged

The completed assistant response was flagged by sycophancy detection. Quality signal (not an error); emitted only when the score meets the configured threshold or a critical pattern was found. Carries the score and pattern classifications, never the full response text.

Fields

§run_id: String
§sycophancy_score: f32

0.0 (clean) – 1.0 (fully sycophantic).

§has_critical: bool
§correction_mandatory: bool
§

SycophancyCorrected

A sycophantic response was auto-corrected: carries the rewritten text, emitted as a follow-up after the original response. Opt-in (auto_correct).

Fields

§run_id: String
§corrected_text: String
§

GuardrailFlagged

Chat input was flagged by an input guardrail (prompt-injection or PII). run_id is absent when the input was blocked before a run started. Carries only the category and a short reason — never the raw input or the matched secret value.

Fields

§run_id: Option<String>
§category: String

injection | pii.

§reason: String

Short, content-free reason label.

§

RuntimeStep

A tool-loop iteration boundary — per-step run progress for the Runtime Console. Emitted at the start and end of each orchestrator iteration.

Fields

§run_id: String
§step: u32

Monotonic per-run step index (the orchestrator iteration number).

§kind: String

started | finished.

§

AgentThreadStarted

A persisted child turn started. Never contains its prompt or history.

Fields

§run_id: String
§lifecycle: AgentLifecycle
§

AgentThreadUpdated

A child was persisted pending execution or changed nonterminal state.

Fields

§run_id: String
§lifecycle: AgentLifecycle
§

AgentThreadFinished

A child turn completed successfully; its output is retrieved separately.

Fields

§run_id: String
§lifecycle: AgentLifecycle
§

AgentThreadError

A child failed or was cancelled, including before a child run started.

Fields

§run_id: String
§lifecycle: AgentLifecycle
§

StatePatch

Fields

§run_id: String
§

ContextAction(ContextAction)

§

BudgetAlert

A cost-budget warning or hard-limit crossing (CH-06). Emitted when CostBudgetTracker::record returns Warning/Exceeded for any scope (run/task/session/agent/global) with a configured limit.

Fields

§run_id: String
§scope: String

run | task | session | agent | global.

§scope_id: String
§spent_usd: f64
§limit_usd: f64
§exceeded: bool

true for a hard-limit crossing, false for the warning threshold.

§

MemoryMutation

A memory was created, updated, or deleted — either by an LLM tool call or by auto-capture.

Fields

§run_id: String
§operation: String

“created” | “updated” | “deleted”

§memory_id: String

The record ID of the affected memory (e.g. “memory:abc123”). Empty if unavailable.

§content: String

Content of the memory at time of mutation (empty for deletions).

§scope: String

Scope label: “session” | “user” | “agent” | “global” | “task”

§memory_type: String

Cognitive type: “semantic” | “episodic” | “procedural” | “associative”

§

ArtifactDisplay

An agent produced a displayable artifact (code block, document, chart, etc.). This is also used for artifact_type = "display" UI surfaces. Emitted as agui.artifact on the SSE stream.

Fields

§run_id: String
§

ArtifactInputRequest

An agent needs structured input from the user before it can continue. The artifact field carries the JSON Schema of the input form. The agent run is paused until the user submits a response via POST /api/uar/runs/{run_id}/artifact-response. Emitted as agui.artifact_input_request on the SSE stream.

Fields

§run_id: String
§

ToolCallApprovalRequired

A tool call requires user approval before execution. The run is paused until the user responds via the approval endpoint.

Fields

§run_id: String
§approval_id: Option<String>

Host-issued request identity; required when resolving child approvals.

§call_index: usize
§tool_call_id: String
§name: String
§arguments_json: String
§risk_reason: String
§

ToolCallDenied

A governance policy denied a tool call. This is terminal for the call and must never create a human approval request.

Fields

§run_id: String
§call_index: usize
§tool_call_id: String
§name: String
§reason: String
§

RunDoneWithUsage

A run completed. Optionally carries token usage and cost estimates when the persistence layer or LLM provider reports them.

Fields

§run_id: String
§input_tokens: Option<u32>
§output_tokens: Option<u32>
§total_tokens: Option<u32>
§cost_usd_estimate: Option<f64>

Estimated cost in USD based on model pricing.

§model: Option<String>

Model used for this run.

Trait Implementations§

Source§

impl Clone for NormalizedEvent

Source§

fn clone(&self) -> NormalizedEvent

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NormalizedEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for NormalizedEvent

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for NormalizedEvent

Source§

fn eq(&self, other: &NormalizedEvent) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for NormalizedEvent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for NormalizedEvent

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<U> As for U

§

fn as_<T>(self) -> T
where T: CastFrom<U>, U: Sized,

Casts self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read more
§

impl<T> AsyncFriendly for T
where T: Send + Sync + 'static,

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
§

impl<T> Generator<T> for T
where T: Clone,

§

fn generate(&mut self) -> T

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> IntoRequest<T> for T

§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
§

impl<L> LayerExt<L> for L

§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in [Layered].
§

impl<T> MaybeSend for T
where T: Send,

§

impl<T> MaybeSend for T
where T: Send,

§

impl<T> Message for T
where T: Any + Send + 'static,

§

fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>

Convert a [BoxedMessage] to this concrete type
§

fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>

Convert this message to a [BoxedMessage]
§

impl<T> OutputMessage for T
where T: Message + Clone,

§

impl<T> Pipe for T
where T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Pointee for T

§

type Pointer = u32

§

fn debug( pointer: <T as Pointee>::Pointer, f: &mut Formatter<'_>, ) -> Result<(), Error>

§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Serialize for T
where T: Serialize + ?Sized,

Source§

fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>

Source§

fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>

§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

§

fn simd_from(_simd: S, value: T) -> T

§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

§

fn simd_into(self, simd: S) -> T

§

impl<T> State for T
where T: Any + Send + 'static,

§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
§

impl<T> TaskPayload for T
where T: Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<G1, G2> Within<G2> for G1
where G2: Contains<G1>,

§

fn is_within(&self, b: &G2) -> bool