pub trait IdProvider: Send + Sync + Debug {
    fn next_id(&self) -> SubscriptionId<'static>;
}
Expand description

Trait to generate subscription IDs.

Required Methods§

Returns the next ID for the subscription.

Implementations on Foreign Types§

Implementors§