Skip to main content

Publish

Trait Publish 

Source
pub trait Publish: Send + Sync {
    // Required method
    fn publish(&self, change: Change);
}
Expand description

Where a change goes: the bus open pages listen to.

Required Methods§

Source

fn publish(&self, change: Change)

Tells every page listening on this bus about change. No one listening is not an error.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§