Event

Trait Event 

Source
pub trait Event {
    type Body: Debug + Clone + Serialize + DeserializeOwned + Send + Sync;

    const EVENT: &'static str;
}
Expand description

Event is an event, with associated name and body type.

Required Associated Constants§

Source

const EVENT: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Event for Breakpoint

Source§

const EVENT: &'static str = "breakpoint"

Source§

type Body = BreakpointEvent

Source§

impl Event for Capabilities

Source§

const EVENT: &'static str = "capabilities"

Source§

type Body = CapabilitiesEvent

Source§

impl Event for Continued

Source§

const EVENT: &'static str = "continued"

Source§

type Body = ContinuedEvent

Source§

impl Event for Exited

Source§

const EVENT: &'static str = "exited"

Source§

type Body = ExitedEvent

Source§

impl Event for Initialized

Source§

const EVENT: &'static str = "initialized"

Source§

type Body = ()

Source§

impl Event for Invalidated

Source§

const EVENT: &'static str = "invalidated"

Source§

type Body = InvalidatedEvent

Source§

impl Event for LoadedSource

Source§

const EVENT: &'static str = "loadedSource"

Source§

type Body = LoadedSourceEvent

Source§

impl Event for Memory

Source§

const EVENT: &'static str = "memory"

Source§

type Body = MemoryEvent

Source§

impl Event for Module

Source§

const EVENT: &'static str = "module"

Source§

type Body = ModuleEvent

Source§

impl Event for Output

Source§

const EVENT: &'static str = "output"

Source§

type Body = OutputEvent

Source§

impl Event for Process

Source§

const EVENT: &'static str = "process"

Source§

type Body = ProcessEvent

Source§

impl Event for ProgressEnd

Source§

const EVENT: &'static str = "progressEnd"

Source§

type Body = ProgressEndEvent

Source§

impl Event for ProgressStart

Source§

const EVENT: &'static str = "progressStart"

Source§

type Body = ProgressStartEvent

Source§

impl Event for ProgressUpdate

Source§

const EVENT: &'static str = "progressUpdate"

Source§

type Body = ProgressUpdateEvent

Source§

impl Event for Stopped

Source§

const EVENT: &'static str = "stopped"

Source§

type Body = StoppedEvent

Source§

impl Event for Terminated

Source§

const EVENT: &'static str = "terminated"

Source§

type Body = TerminatedEvent

Source§

impl Event for Thread

Source§

const EVENT: &'static str = "thread"

Source§

type Body = ThreadEvent