SubscriptionKind

Trait SubscriptionKind 

Source
pub trait SubscriptionKind
where Self: Debug + Clone,
{ type Event: Debug; // Required method fn as_str(&self) -> &'static str; }
Expand description

Defines kind of a Subscription, and the output Self::Event that it yields.

Required Associated Types§

Required Methods§

Source

fn as_str(&self) -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§