[][src]Enum dyon::runtime::Flow

pub enum Flow {
    Continue,
    Return,
    Break(Option<Arc<String>>),
    ContinueLoop(Option<Arc<String>>),
}

Stores return flow, used to continue executing, return, break out of loop or continue loop.

Variants

Continue

Continues execution.

Return

Return from function.

Break(Option<Arc<String>>)

Break loop, with optional label.

ContinueLoop(Option<Arc<String>>)

Continue loop, with optional label.

Trait Implementations

impl Debug for Flow[src]

Auto Trait Implementations

impl Send for Flow

impl Sync for Flow

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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<T> Borrow for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.