[][src]Enum arnalisa::error::Error

pub enum Error {
    SerdeJson {
        source: Error,
        backtrace: Backtrace,
    },
    SerdeCbor {
        source: Error,
        backtrace: Backtrace,
    },
    Io {
        source: Error,
        backtrace: Backtrace,
    },
    InvalidSourceName {
        scope: Scope,
        name: String,
        bin_type: String,
        backtrace: Backtrace,
    },
    MissingSourceName {
        scope: Scope,
        name: String,
        bin_type: String,
        backtrace: Backtrace,
    },
    InvalidSinkName {
        name: String,
        backtrace: Backtrace,
    },
    InvalidSinkNames {
        scope: Scope,
        expected: IndexSet<String>,
        received: IndexSet<String>,
        backtrace: Backtrace,
    },
    BinNamesMismatchInPipeline {
        scope: Scope,
        bins: IndexSet<String>,
        pipes: IndexSet<String>,
        backtrace: Backtrace,
    },
    BinNotPresent {
        scope: Scope,
        bin: String,
        backtrace: Backtrace,
    },
    CircularPipeReference {
        scope: Scope,
        backtrace: Backtrace,
    },
    InvalidJsonL {
        path: String,
        line: usize,
        backtrace: Backtrace,
    },
    InvalidJsonLItemCount {
        path: String,
        line: usize,
        required: usize,
        found: usize,
        backtrace: Backtrace,
    },
    InvalidDirectSourceData {
        backtrace: Backtrace,
    },
    InvalidCalibrationCurveSlope {
        scope: Scope,
        calibration: CalibrationSource,
        backtrace: Backtrace,
    },
    InvalidCalibration {
        scope: Scope,
        backtrace: Backtrace,
    },
    AsynchronousEndOfData {
        scope: Scope,
        backtrace: Backtrace,
    },
    ConversionError {
        function: String,
        value: Item,
        message: String,
        backtrace: Backtrace,
    },
    DataProviderGone {
        scope: Scope,
        backtrace: Backtrace,
    },
    GetCalibration {
        message: String,
        backtrace: Backtrace,
    },
    ChannelSendFailed {
        backtrace: Backtrace,
    },
    XioTagNotAvailable {
        tag: String,
        available: IndexSet<String>,
        backtrace: Backtrace,
    },
    XioColumnCountMismatch {
        tag: String,
        expected: usize,
        received: usize,
        backtrace: Backtrace,
    },
    XioGettingDataWhileNotInRunningState {
        current_state: BinState,
        backtrace: Backtrace,
    },
    XioReceivedUnexpectedEventInState {
        state: Box<BinState>,
        event: Box<JobEvent>,
        backtrace: Backtrace,
    },
    XioMappingDuplicateSource {
        mapping: IndexMap<String, IndexMap<String, String>>,
        name: String,
    },
}

Variants

SerdeJson

Fields of SerdeJson

source: Errorbacktrace: Backtrace
SerdeCbor

Fields of SerdeCbor

source: Errorbacktrace: Backtrace
Io

Fields of Io

source: Errorbacktrace: Backtrace
InvalidSourceName

Fields of InvalidSourceName

scope: Scopename: Stringbin_type: Stringbacktrace: Backtrace
MissingSourceName

Fields of MissingSourceName

scope: Scopename: Stringbin_type: Stringbacktrace: Backtrace
InvalidSinkName

Fields of InvalidSinkName

name: Stringbacktrace: Backtrace
InvalidSinkNames

Fields of InvalidSinkNames

scope: Scopeexpected: IndexSet<String>received: IndexSet<String>backtrace: Backtrace
BinNamesMismatchInPipeline

Fields of BinNamesMismatchInPipeline

scope: Scopebins: IndexSet<String>pipes: IndexSet<String>backtrace: Backtrace
BinNotPresent

Fields of BinNotPresent

scope: Scopebin: Stringbacktrace: Backtrace
CircularPipeReference

Fields of CircularPipeReference

scope: Scopebacktrace: Backtrace
InvalidJsonL

Fields of InvalidJsonL

path: Stringline: usizebacktrace: Backtrace
InvalidJsonLItemCount

Fields of InvalidJsonLItemCount

path: Stringline: usizerequired: usizefound: usizebacktrace: Backtrace
InvalidDirectSourceData

Fields of InvalidDirectSourceData

backtrace: Backtrace
InvalidCalibrationCurveSlope

Fields of InvalidCalibrationCurveSlope

scope: Scopecalibration: CalibrationSourcebacktrace: Backtrace
InvalidCalibration

Fields of InvalidCalibration

scope: Scopebacktrace: Backtrace
AsynchronousEndOfData

Fields of AsynchronousEndOfData

scope: Scopebacktrace: Backtrace
ConversionError

Fields of ConversionError

function: Stringvalue: Itemmessage: Stringbacktrace: Backtrace
DataProviderGone

Fields of DataProviderGone

scope: Scopebacktrace: Backtrace
GetCalibration

Fields of GetCalibration

message: Stringbacktrace: Backtrace
ChannelSendFailed

Fields of ChannelSendFailed

backtrace: Backtrace
XioTagNotAvailable

Fields of XioTagNotAvailable

tag: Stringavailable: IndexSet<String>backtrace: Backtrace
XioColumnCountMismatch

Fields of XioColumnCountMismatch

tag: Stringexpected: usizereceived: usizebacktrace: Backtrace
XioGettingDataWhileNotInRunningState

Fields of XioGettingDataWhileNotInRunningState

current_state: BinStatebacktrace: Backtrace
XioReceivedUnexpectedEventInState

Fields of XioReceivedUnexpectedEventInState

state: Box<BinState>event: Box<JobEvent>backtrace: Backtrace
XioMappingDuplicateSource

Fields of XioMappingDuplicateSource

mapping: IndexMap<String, IndexMap<String, String>>name: String

Trait Implementations

impl Display for Error[src]

impl Debug for Error[src]

impl Error for Error where
    Self: Debug + Display
[src]

impl ErrorCompat for Error[src]

impl IntoError<Error> for SerdeJson where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for SerdeCbor where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for Io where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl<__T0, __T1, __T2> IntoError<Error> for InvalidSourceName<__T0, __T1, __T2> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>,
    __T1: Into<String>,
    __T2: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1, __T2> IntoError<Error> for MissingSourceName<__T0, __T1, __T2> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>,
    __T1: Into<String>,
    __T2: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for InvalidSinkName<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1, __T2> IntoError<Error> for InvalidSinkNames<__T0, __T1, __T2> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>,
    __T1: Into<IndexSet<String>>,
    __T2: Into<IndexSet<String>>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1, __T2> IntoError<Error> for BinNamesMismatchInPipeline<__T0, __T1, __T2> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>,
    __T1: Into<IndexSet<String>>,
    __T2: Into<IndexSet<String>>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1> IntoError<Error> for BinNotPresent<__T0, __T1> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>,
    __T1: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for CircularPipeReference<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1> IntoError<Error> for InvalidJsonL<__T0, __T1> where
    Error: Error + ErrorCompat,
    __T0: Into<String>,
    __T1: Into<usize>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1, __T2, __T3> IntoError<Error> for InvalidJsonLItemCount<__T0, __T1, __T2, __T3> where
    Error: Error + ErrorCompat,
    __T0: Into<String>,
    __T1: Into<usize>,
    __T2: Into<usize>,
    __T3: Into<usize>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for InvalidDirectSourceData where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1> IntoError<Error> for InvalidCalibrationCurveSlope<__T0, __T1> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>,
    __T1: Into<CalibrationSource>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for InvalidCalibration<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for AsynchronousEndOfData<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1, __T2> IntoError<Error> for ConversionError<__T0, __T1, __T2> where
    Error: Error + ErrorCompat,
    __T0: Into<String>,
    __T1: Into<Item>,
    __T2: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for DataProviderGone<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<Scope>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for GetCalibration<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for ChannelSendFailed where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1> IntoError<Error> for XioTagNotAvailable<__T0, __T1> where
    Error: Error + ErrorCompat,
    __T0: Into<String>,
    __T1: Into<IndexSet<String>>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1, __T2> IntoError<Error> for XioColumnCountMismatch<__T0, __T1, __T2> where
    Error: Error + ErrorCompat,
    __T0: Into<String>,
    __T1: Into<usize>,
    __T2: Into<usize>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for XioGettingDataWhileNotInRunningState<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<BinState>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1> IntoError<Error> for XioReceivedUnexpectedEventInState<__T0, __T1> where
    Error: Error + ErrorCompat,
    __T0: Into<Box<BinState>>,
    __T1: Into<Box<JobEvent>>, 
[src]

type Source = NoneError

The underlying error

impl<__T0, __T1> IntoError<Error> for XioMappingDuplicateSource<__T0, __T1> where
    Error: Error + ErrorCompat,
    __T0: Into<IndexMap<String, IndexMap<String, String>>>,
    __T1: Into<String>, 
[src]

type Source = NoneError

The underlying error

Auto Trait Implementations

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

impl !RefUnwindSafe for Error

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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<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> AsErrorSource for T where
    T: 'static + Error
[src]

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

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