pub fn new(
        event_tx: mpsc::Sender<EventSubset>,
        event_category: Category,
        event_category_tx: mpsc::Sender<Category>,
    ) -> EventSender<Category, EventSubset> {
        EventSender {
            event_tx,
            event_category,
            event_category_tx,
        }
    }
/// Create a new instance of `EventSender`. Category type, category value and EventSubset type
/// are baked into `EventSender` to disallow user code from misusing it.
Create a new instance of `EventSender`. Category type, category value and EventSubset type
are baked into `EventSender` to disallow user code from misusing it.
Create a new instance of ` EventSender ` . Category type category value and EventSubset type are baked into ` EventSender ` to disallow user code from misusing it .
pub fn new(
        event_tx: mpsc::Sender<EventSubset>,
        event_category: Category,
        event_category_tx: mpsc::Sender<Category>,
    ) -> EventSender<Category, EventSubset> {
        EventSender {
            event_tx,
            event_category,
            event_category_tx,
        }
    }
pub fn new ( event_tx : mpsc :: Sender < EventSubset > , event_category : Category , event_category_tx : mpsc :: Sender < Category > , ) -> EventSender < Category , EventSubset > { EventSender { event_tx , event_category , event_category_tx , } }
Create a new instance of `EventSender`.
Create a new instance of ` EventSender ` .
event_tx
mpsc::Sender<EventSubset>
event_category
Category
event_category_tx
mpsc::Sender<Category>
event_tx
mpsc::Sender<EventSubset>
event_category
Category
event_category_tx
mpsc::Sender<Category>