[][src]Enum arnalisa::bins::xiosource::BinState

pub enum BinState {
    Initialized,
    WaitingForData {
        tags: IndexMap<String, Vec<String>>,
    },
    Running {
        tags: IndexMap<String, Vec<String>>,
        data: IndexMap<String, Item>,
    },
    Finished,
    Failed,
}

The current internal state of the bin.

Variants

Initialized

Initialized, waiting for the Started event.

WaitingForData

Job was Started, waiting for the MeasurementData or Finished event.

Fields of WaitingForData

tags: IndexMap<String, Vec<String>>

The tags received by the Started event.

Running

Already received some data, waiting for more MeasurementData events or a Finished event.

Fields of Running

tags: IndexMap<String, Vec<String>>

The tags received by the Started event.

data: IndexMap<String, Item>

The last measurement data row.

Finished

Finished state, the measurement was successfully finished.

Failed

Failed state, something went wrong.

Trait Implementations

impl Clone for BinState[src]

impl Debug for BinState[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err