[][src]Enum flowrlib::runtime::Event

pub enum Event {
    FlowStart,
    FlowEnd(Metrics),
    Stdout(String),
    Stderr(String),
    GetStdin,
    GetLine,
    GetArgs,
    Write(StringVec<u8>),
    PixelWrite((u32, u32)(u8, u8, u8)(u32, u32)String),
    StdoutEOF,
    StderrEOF,
    Invalid,
}

A run-time Event sent from the run-time to a runtime_client

Variants

FlowStart

A flow has started executing

FlowEnd(Metrics)

A flow has stopped executing

Stdout(String)

A String of contents was sent to stdout

Stderr(String)

A String of contents was sent to stderr

GetStdin

A Request to read from Stdin

GetLine

A Request to read a line of characters from Stdin

GetArgs

A Request to get the arguments for the flow

Write(StringVec<u8>)

A Request to write a series of bytes to a file

PixelWrite((u32, u32)(u8, u8, u8)(u32, u32)String)

A Request to write a pixel to an ImageBuffer

StdoutEOF

A Request to snd EOF to Stdout

StderrEOF

A Request to snd EOF to Stderr

Invalid

Invalid - used when deserialization goes wrong

Trait Implementations

impl Debug for Event[src]

impl<'de> Deserialize<'de> for Event[src]

impl From<Message> for Event[src]

impl Send for Event[src]

impl Serialize for Event[src]

impl Sync for Event[src]

Auto Trait Implementations

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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Sendable for T where
    T: Into<Message>, 
[src]

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.