pub struct TopicMap {
pub map: BTreeMap<String, HashMap<String, Sender<Msg>>>,
}Expand description
The TopicMap struct is used to store the channels for a given topic.
Fields§
§map: BTreeMap<String, HashMap<String, Sender<Msg>>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TopicMap
impl !RefUnwindSafe for TopicMap
impl Send for TopicMap
impl Sync for TopicMap
impl Unpin for TopicMap
impl !UnwindSafe for TopicMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more