pub trait TryFromEvent: Sized {
    type Error;

    fn try_from_event(
        event: impl Into<IndefiniteEvent>
    ) -> Result<Self, Self::Error>; }
Expand description

Allows a type to be decoded from an Event or IndefiniteEvent.

Required Associated Types

Required Methods

Implementations on Foreign Types

Implementors