/// Unsubscribe a relay before handing off this PubSub to Peer. If you want to be able
/// to remove subscribers during runtime, use [`PubSub::rt_unsubscribe`].
//
Unsubscribe a relay before handing off this PubSub to Peer. If you want to be able
to remove subscribers during runtime, use [`PubSub::rt_unsubscribe`].
Unsubscribe a relay before handing off this PubSub to Peer . If you want to be able to remove subscribers during runtime use [ ` PubSub :: rt_unsubscribe ` ] .
pub fn unsubscribe( &mut self, id: usize )
	{
		let mut subs = self.subscribers.lock();
		subs.remove( &id );
	}
pub fn unsubscribe ( & mut self , id : usize ) { let mut subs = self . subscribers . lock ( ) ; subs . remove ( & id ) ; }
Unsubscribe a relay before handing off this PubSub to Peer.
Unsubscribe a relay before handing off this PubSub to Peer .
&mut self
id
usize