[][src]Enum tremor_script::Return

pub enum Return<'event> {
    Emit {
        value: Value<'event>,
        port: Option<String>,
    },
    Drop,
    EmitEvent {
        port: Option<String>,
    },
}

Return of a script execution

Variants

Emit

This script should emit the returned value

Fields of Emit

value: Value<'event>

Value to emit

port: Option<String>

Port to emit to

Drop

This event should be dropped

EmitEvent

This script should emit the event that was passed in

Fields of EmitEvent

port: Option<String>

Port to emit to

Trait Implementations

impl<'event> Debug for Return<'event>[src]

impl<'event> PartialEq<Return<'event>> for Return<'event>[src]

impl<'event> Serialize for Return<'event>[src]

impl<'event> StructuralPartialEq for Return<'event>[src]

Auto Trait Implementations

impl<'event> RefUnwindSafe for Return<'event>

impl<'event> Send for Return<'event>

impl<'event> Sync for Return<'event>

impl<'event> Unpin for Return<'event>

impl<'event> UnwindSafe for Return<'event>

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,