pubnub 0.7.0

PubNub SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
/// Event engine external event.
///
/// State machine uses events to calculate transition path and list of effects
/// invocations.
///
/// Types which are expected to be used as events should implement this trait.  
pub(crate) trait Event {
    /// Event identifier.
    fn id(&self) -> &str;
}