Skip to main content

Unsubscribe

Trait Unsubscribe 

Source
pub trait Unsubscribe {
    // Required method
    fn unsubscribe(&mut self, subs_id: SeqID);
}
Expand description

Unsubscribe: unregisters a previously created subscription.

Required Methods§

Source

fn unsubscribe(&mut self, subs_id: SeqID)

Remove all registrations of the subscriber with ID subs_id.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§