Skip to main content

NoteDispatch

Trait NoteDispatch 

Source
pub trait NoteDispatch: Send + Sync {
    // Required method
    fn note(&self, seat: &SessionSlot, text: &str);
}
Expand description

How a listener note reaches the seat’s session.

Required Methods§

Source

fn note(&self, seat: &SessionSlot, text: &str)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§