Skip to main content

Deliver

Trait Deliver 

Source
pub trait Deliver: Send + Sync {
    // Required method
    fn to_seat(&self, slot: &SessionSlot, text: &str) -> Delivery;
}
Expand description

Where a chase message goes. A trait so tests can watch the ladder without a live session; the production impl injects a prompt.

Required Methods§

Source

fn to_seat(&self, slot: &SessionSlot, text: &str) -> Delivery

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§