evident 0.12.2

Pub/Sub library using IDs to identify events.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! This module contains the minimal required implementation for the [`Msg`](evident::event::Msg) trait.
//!
//! [req:qa.ux.usage], [req:event.msg]

/// Struct used for a minimal [`Msg`](evident::event::Msg) trait implementation.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct MinMsg {
    pub nr: usize,
}

impl evident::event::Msg for MinMsg {}