Type Alias ChordedEvent

Source
pub type ChordedEvent = Event;
Expand description

Type aliases for convenience.

Aliased Type§

pub enum ChordedEvent {
    ChordResolved(ChordResolution),
    Timeout,
}

Variants§

§

ChordResolved(ChordResolution)

The chorded key was resolved.

§

Timeout

Timed out waiting for chord to be satisfied.

Trait Implementations§

Source§

impl TryFrom<Event> for ChordedEvent

Source§

type Error = EventError

The type returned in the event of a conversion error.
Source§

fn try_from(ev: Event) -> Result<Self, Self::Error>

Performs the conversion.