new • Rust AI Agent SDK

new: Create with a specific sink.

new

Method

</div>

This is a method of the ContextTraceEmitter class in the trace module.

Create with a specific sink.

Signature

python
def new(sink: impl ContextTraceSinkProtocol + 'static) -> Self

Parameters

ParamField impl ContextTraceSinkProtocol + 'static

No description available.

Returns

ResponseField Self

The result of the operation.