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

Trait to generate subscription IDs.

Required Methods§

fn next_id(&self) -> SubscriptionId<'static>

Returns the next ID for the subscription.

Implementations on Foreign Types§

§

impl<T> IdProvider for Box<T, Global>where T: IdProvider + ?Sized,

§

fn next_id(&self) -> SubscriptionId<'static>

Implementors§