Skip to main content

FieldNotifier

Trait FieldNotifier 

Source
pub trait FieldNotifier<T>: Send + Sync {
    // Required method
    fn subscribe(&self) -> EventStream<T>;
}
Expand description

Trait for a field that emits change notifications

Required Methods§

Source

fn subscribe(&self) -> EventStream<T>

Subscribe to notifications for this field’s value changes.

Implementors§