Skip to main content

ClientEventSink

Trait ClientEventSink 

Source
pub trait ClientEventSink:
    Send
    + Sync
    + 'static {
    // Required method
    fn deliver(&self, delivery: ClientDelivery);

    // Provided method
    fn wants_raw_tool_output(&self) -> bool { ... }
}
Expand description

Consumer of ordered protocol notifications and replay deliveries.

Required Methods§

Source

fn deliver(&self, delivery: ClientDelivery)

Provided Methods§

Source

fn wants_raw_tool_output(&self) -> bool

Whether to retain raw tool output in replay buffers and deliveries. Snapshot barrier bookkeeping is performed regardless of this preference.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ClientEventSink for UnboundedSender<ClientDelivery>

Source§

fn deliver(&self, delivery: ClientDelivery)

Implementors§