pub trait HasPushNotifier {
// Required method
fn push_notifier(&self) -> &dyn AsyncPushNotifier;
}Expand description
Ingredient: an assembly that can hand out a push-notifier port.
Kept separate from HasStreaming on purpose: in-process streaming fan-out
and out-of-band webhook delivery are distinct capabilities with distinct
backends, so the mixin orchestrates both rather than fusing them into one
adapter.
Required Methods§
fn push_notifier(&self) -> &dyn AsyncPushNotifier
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".