[][src]Enum weld::runtime::WeldRuntimeErrno

#[repr(u64)]
pub enum WeldRuntimeErrno {
    Success,
    ConfigurationError,
    LoadLibraryError,
    CompileError,
    ArrayOutOfBounds,
    BadIteratorLength,
    MismatchedZipSize,
    OutOfMemory,
    RunNotFound,
    Unknown,
    DeserializationError,
    KeyNotFoundError,
    AssertionError,
    ErrnoMax,
}

An errno set by the runtime but also used by the Weld API.

Variants

Success

Indicates success.

This will always be 0.

ConfigurationError

Invalid configuration.

LoadLibraryError

Dynamic library load error.

CompileError

Weld compilation error.

ArrayOutOfBounds

Array out-of-bounds error.

BadIteratorLength

A Weld iterator was invalid.

MismatchedZipSize

Mismatched Zip error.

This error is thrown if the vectors in a Zip have different lengths.

OutOfMemory

Out of memory error.

This error is thrown if the amount of memory allocated by the runtime exceeds the limit set by the configuration.

RunNotFound
Unknown

An unknown error.

DeserializationError

A deserialization error.

This error occurs if a buffer being deserialized has an invalid length.

KeyNotFoundError

A key was not found in a dictionary.

AssertionError

An assertion evaluated to false.

ErrnoMax

Maximum errno value.

All errors will have a value less than this value and greater than 0.

Trait Implementations

impl Clone for WeldRuntimeErrno[src]

impl Copy for WeldRuntimeErrno[src]

impl Debug for WeldRuntimeErrno[src]

impl Display for WeldRuntimeErrno[src]

fn fmt(&self, f: &mut Formatter) -> Result[src]

Just return the errno name.

impl Eq for WeldRuntimeErrno[src]

impl PartialEq<WeldRuntimeErrno> for WeldRuntimeErrno[src]

impl PartialOrd<WeldRuntimeErrno> for WeldRuntimeErrno[src]

impl StructuralEq for WeldRuntimeErrno[src]

impl StructuralPartialEq for WeldRuntimeErrno[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> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.