[][src]Struct xaynet::state_machine::events::Event

pub struct Event<E> {
    pub round_id: RoundSeed,
    pub event: E,
}

An event emitted by the coordinator.

Fields

round_id: RoundSeed

Metadata that associates this event to the round in which it is emitted.

event: E

The event itself

Trait Implementations

impl<E: Clone> Clone for Event<E>[src]

impl<E: Debug> Debug for Event<E>[src]

impl<E: Eq> Eq for Event<E>[src]

impl<E: PartialEq> PartialEq<Event<E>> for Event<E>[src]

impl<E> StructuralEq for Event<E>[src]

impl<E> StructuralPartialEq for Event<E>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for Event<E> where
    E: RefUnwindSafe

impl<E> Send for Event<E> where
    E: Send

impl<E> Sync for Event<E> where
    E: Sync

impl<E> Unpin for Event<E> where
    E: Unpin

impl<E> UnwindSafe for Event<E> where
    E: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]